/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background-color: #0f172a;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(15, 23, 42, 0.7),
    rgba(30, 41, 59, 0.6),
    rgba(15, 23, 42, 0.7)
  );
  z-index: 1;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(59, 130, 246, 0.2), 0 0 40px rgba(59, 130, 246, 0.1);
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 6s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.hero-content:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.2);
  transition: box-shadow 0.3s ease;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.hero .description {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #0f172a;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card i {
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #cbd5e1;
}

/* Service Card Colors */
.service-card.pink {
  background: rgba(251, 207, 232, 0.1);
  box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.25);
}

.service-card.pink .icon-container {
  background: rgba(251, 207, 232, 0.2);
}

.service-card.pink i {
  color: #ec4899;
}

.service-card.pink h3 {
  color: #fbcfe8;
}

.service-card.blue {
  background: rgba(191, 219, 254, 0.1);
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

.service-card.blue .icon-container {
  background: rgba(191, 219, 254, 0.2);
}

.service-card.blue i {
  color: #3b82f6;
}

.service-card.blue h3 {
  color: #bfdbfe;
}

.service-card.purple {
  background: rgba(216, 180, 254, 0.1);
  box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.25);
}

.service-card.purple .icon-container {
  background: rgba(216, 180, 254, 0.2);
}

.service-card.purple i {
  color: #a855f7;
}

.service-card.purple h3 {
  color: #d8b4fe;
}

.service-card.green {
  background: rgba(167, 243, 208, 0.1);
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.25);
}

.service-card.green .icon-container {
  background: rgba(167, 243, 208, 0.2);
}

.service-card.green i {
  color: #10b981;
}

.service-card.green h3 {
  color: #a7f3d0;
}

.service-card.yellow {
  background: rgba(253, 230, 138, 0.1);
  box-shadow: 0 25px 50px -12px rgba(234, 179, 8, 0.25);
}

.service-card.yellow .icon-container {
  background: rgba(253, 230, 138, 0.2);
}

.service-card.yellow i {
  color: #eab308;
}

.service-card.yellow h3 {
  color: #fde68a;
}

.service-card.cyan {
  background: rgba(165, 243, 252, 0.1);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.25);
}

.service-card.cyan .icon-container {
  background: rgba(165, 243, 252, 0.2);
}

.service-card.cyan i {
  color: #06b6d4;
}

.service-card.cyan h3 {
  color: #a5f3fc;
}

/* Contact Section */
.contact {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

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

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-card i {
  font-size: 2rem;
  color: #60a5fa;
  margin-right: 1.5rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.contact-card p {
  color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.25rem;
  }

  .hero .description {
    font-size: 1rem;
  }

  .hero-content {
    padding: 2rem;
    margin: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.125rem;
  }

  .hero-content {
    padding: 1.5rem;
  }
}
