/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Add padding-top to body to prevent header overlap */
body {
  padding-top: 80px; /* Adjust this if your header height changes */
}

/* Hero Section */
.testing-hero {
  position: relative;
  height: 50vh;
  background: url('images/testing.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.testing-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}
.testing-hero .hero-content {
  position: relative;
  z-index: 2;
}
.testing-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.testing-hero p {
  font-size: 1.5rem;
}

/* Services Section */
.services-section {
  padding: 80px 20px;
  background: #f4f4f4;
}
.services-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-item {
  background: white;
  color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.service-item h3 {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testing-hero h1 {
    font-size: 2.5rem;
  }
  .testing-hero p {
    font-size: 1.2rem;
  }
  .header-container {
    flex-direction: column;
  }
}
