/* css/home.css */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,25,0.7), rgba(10,10,25,0.95));
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  animation: fadeInUp 1.2s ease outwards;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00d4ff, #7c3aed, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -3px;
}


.services-section {
  padding: 8rem 5% 10rem;
  background: #0f0f1a;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3.5rem;
}

.service-card {
  background: rgba(20, 20, 40, 0.7);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.5s ease;
  backdrop-filter: blur(12px);
  gap: 10px;
}

.service-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.25);
  border-color: #00d4ff;
}

.service-slider {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.3);
  color: white;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: #00d4ff;
  transform: translateY(-50%) scale(1.1);
}

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dots span {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dots span.active {
  background: #00d4ff;
  transform: scale(1.3);
}

.service-info {
  padding: 2rem;
  text-align: center;
  color: #e0e0e0;
}

.service-info i {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00d4ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-info h3 {
  font-size: 1.8rem;
  margin: 1rem 0;
  color: white;
}

.btn-outline {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2.2rem;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s;
}

.btn-outline:hover {
  background: #00d4ff;
  color: #000;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero h1 { font-size: 3rem; }
  .service-slider { height: 250px; }
}