/* Services Page Specific Styles */

/* Tech-focused Hero Section */
.hero-services {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  overflow: hidden;
}

.tech-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-services .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-services h1 {
  background: linear-gradient(90deg, var(--accent), #64e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
  .hero-services h1 {
    background: transparent;
    color: var(--accent);
  }
}

.hero-services p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Service Categories */
.services-overview {
  padding: 5rem 0 2rem;
  text-align: center;
}

.services-overview h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.services-overview p {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Service Category Sections */
.service-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.service-section.bg-gradient {
  background: linear-gradient(135deg, rgba(237, 242, 247, 0.5), rgba(255, 255, 255, 0.8));
}

.tech-circuit-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230cdaf5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.8;
}

/* Service Category Header */
.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.category-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
}

.category-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 218, 245, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.3s ease;
}

.category-icon i {
  position: relative;
  z-index: 1;
  color: var(--primary-600);
}

.category-header-text h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-700);
  position: relative;
  display: inline-block;
}

.category-header-text h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.category-header-text p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Modern Service Card Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  perspective: 1000px;
}

.tech-service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(0);
}

.tech-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 218, 245, 0.1), rgba(255, 255, 255, 0.1));
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  z-index: 0;
  transition: all 0.5s ease;
}

.tech-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-300), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.tech-service-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(12, 218, 245, 0.2);
  border-color: rgba(12, 218, 245, 0.4);
}

.tech-service-card:hover::before {
  background: linear-gradient(135deg, rgba(12, 218, 245, 0.2), rgba(255, 255, 255, 0.2));
}

.tech-service-card:hover::after {
  opacity: 0.05;
}

.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-300), var(--accent));
  filter: blur(60px);
  opacity: 0;
  top: -30px;
  right: -30px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  border-radius: 50%;
}

.tech-service-card:hover .card-glow {
  opacity: 0.2;
  width: 200px;
  height: 200px;
  transform: translate(20px, 20px);
}

.tech-service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary-700);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--primary-700), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.tech-service-card:hover h3 {
  transform: translateX(10px);
}

.tech-service-card p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tech-service-card:hover p {
  transform: translateX(5px);
}

.service-features {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.service-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  transition: all 0.3s ease;
  transform: translateX(0);
}

.service-features li:hover {
  transform: translateX(5px);
  color: var(--primary-600);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--primary-300), var(--accent));
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-features li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(12, 218, 245, 0.4);
}

/* Add a floating animation for the cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tech-service-card {
  animation: float 6s ease-in-out infinite;
}

.tech-service-card:nth-child(2) {
  animation-delay: 1s;
}

.tech-service-card:nth-child(3) {
  animation-delay: 2s;
}

.tech-service-card:nth-child(4) {
  animation-delay: 3s;
}

/* Industries Section */
.industries-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-100), #f0f9ff);
  position: relative;
  overflow: hidden;
}

.industries-header {
  text-align: center;
  margin-bottom: 3rem;
}

.industries-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(12, 218, 245, 0.3);
}

.industry-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--primary-600);
  position: relative;
}

.industry-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 218, 245, 0.1);
  border-radius: 12px;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon::before {
  background-color: rgba(12, 218, 245, 0.2);
  transform: rotate(0deg);
}

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

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-700);
}

.industry-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* CTA Section */
.tech-cta {
  position: relative;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  overflow: hidden;
  padding: 5rem 0;
  margin-top: 3rem;
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-glow {
  position: relative;
}

.btn-glow:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background-color: var(--accent);
  filter: blur(15px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-glow:hover:after {
  opacity: 0.5;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-services h1 {
    font-size: 3rem;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .category-header-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1.5rem;
  }
  
  .tech-service-card {
    padding: 2rem;
  }
  
  .tech-service-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-services h1 {
    font-size: 2.5rem;
  }
  
  .hero-services p {
    font-size: 1.1rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tech-service-card {
    padding: 2rem;
  }
  
  .tech-service-card:hover {
    transform: translateY(-10px);
  }
  
  .industries-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-services h1 {
    font-size: 2rem;
  }
  
  .services-overview h2, 
  .category-header-text h2,
  .industries-header h2,
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .service-section,
  .industries-section {
    padding: 3rem 0;
  }
  
  .category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
} 