/* ─── SERVICES PAGE STYLES ───────────────────────────── */

/* Services Hero Section */
.services-hero {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.5) 0%, rgba(26, 111, 191, 0.5) 100%),
              url('/images/hero1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6),
              radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.services-hero .center {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease-out;
}

.services-hero .sec-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.services-hero .sec-title {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: slideInLeft 1.4s ease-out;
}

.services-hero .sec-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 1.6s ease-out;
}

.services-hero .divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 3s infinite;
}

/* Featured Services Section */
.featured-services-section {
  background: white;
  padding: 80px 0;
}

.featured-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* Single Service Layout */
.featured-services-grid.single-service {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 60px auto 0;
}

.featured-service-card.featured-single {
  display: flex;
  flex-direction: row;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.featured-service-card.featured-single:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.featured-service-card.featured-single .service-image-wrapper {
  width: 45%;
  height: 100%;
}

.featured-service-card.featured-single .service-content {
  width: 55%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Service Highlights */
.service-highlights {
  margin: 25px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.highlight-item:last-child {
  margin-bottom: 0;
}

.highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a6fbf 0%, #0fa89e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-top: 2px;
}

.highlight-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3d2e;
  margin: 0 0 4px 0;
}

.highlight-text p {
  font-size: 14px;
  color: #6b7f96;
  margin: 0;
  line-height: 1.4;
}

/* Service CTA */
.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f7f6 100%);
  padding: 20px 25px;
  border-radius: 16px;
  border: 1px solid rgba(26, 111, 191, 0.1);
  margin-top: 25px;
}

.cta-text {
  flex: 1;
}

.cta-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a6fbf;
  margin-bottom: 4px;
}

.cta-desc {
  display: block;
  font-size: 13px;
  color: #6b7f96;
}

.cta-icon {
  width: 40px;
  height: 40px;
  background: #1a6fbf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.featured-service-card.featured-single:hover .cta-icon {
  background: #0d4d2f;
  transform: translateX(5px);
}

.featured-service-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 1.4s ease-out;
}

.featured-service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

.featured-service-card:hover .service-image-wrapper img {
  transform: scale(1.1);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-badge.premium {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
}

.service-badge.advanced {
  background: linear-gradient(135deg, #0fa89e, #0d7d77);
  color: white;
}

.service-badge.digital {
  background: linear-gradient(135deg, #6a4cc7, #5a3fb8);
  color: white;
}

.service-content {
  padding: 30px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0fa89e, #2563eb);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.service-tech {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(15, 168, 158, 0.1);
  color: #0fa89e;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 168, 158, 0.2);
}

.service-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}

.service-features li i {
  color: #0fa89e;
  font-size: 12px;
}

/* All Services Section */
.all-services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 0;
}

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 1.4s ease-out;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0fa89e, #2563eb, #6a4cc7);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-icon-wrapper {
  margin-bottom: 12px;
}

.service-icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin: 0 auto;
  animation: pulse 2s infinite;
}

.service-icon-circle.blue {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.service-icon-circle.teal {
  background: linear-gradient(135deg, #0fa89e, #0d7d77);
}

.service-icon-circle.purple {
  background: linear-gradient(135deg, #6a4cc7, #5a3fb8);
}

.service-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 12px;
}

.service-price {
  font-size: 16px;
  font-weight: 600;
  color: #2563eb;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.service-price.discount {
  background: rgba(15, 168, 158, 0.1);
  color: #0fa89e;
  border-color: rgba(15, 168, 158, 0.2);
}

/* Technology Section */
.technology-section {
  background: white;
  padding: 80px 0;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 60px;
}

.tech-item {
  text-align: center;
  padding: 18px 12px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  animation: fadeInUp 1.4s ease-out;
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tech-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0fa89e, #2563eb);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin: 0 auto 12px;
  animation: pulse 2s infinite;
}

.tech-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .featured-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .featured-services-grid.single-service {
    max-width: 800px;
  }
  
  .featured-service-card.featured-single {
    height: 350px;
  }
  
  .featured-service-card.featured-single .service-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .featured-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .featured-services-grid.single-service {
    max-width: 100%;
  }
  
  .featured-service-card.featured-single {
    flex-direction: column;
    height: auto;
  }
  
  .featured-service-card.featured-single .service-image-wrapper {
    width: 100%;
    height: 250px;
  }
  
  .featured-service-card.featured-single .service-content {
    width: 100%;
    padding: 30px 25px;
  }
  
  .highlight-item {
    margin-bottom: 15px;
  }
  
  .highlight-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .highlight-text h4 {
    font-size: 15px;
  }
  
  .highlight-text p {
    font-size: 13px;
  }
  
  .service-cta {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cta-icon {
    align-self: center;
  }
}
  
  .all-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .services-hero {
    padding: 100px 0 60px;
  }
  
  .featured-services-section,
  .all-services-section,
  .technology-section {
    padding: 60px 0;
  }
  
  .service-content {
    padding: 20px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .tech-item {
    padding: 30px 20px;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
