.wwd-container {
  margin: 0 auto;
}

/* Header Section */
.wwd-header-section {
  margin-top: 60px;
  text-align: center;
  padding: 60px 0;
  background-image: url("../images/wwa-banner1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.wwd-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.8)
  );
  backdrop-filter: saturate(150%);
  -webkit-backdrop-filter: blur(2px) saturate(180%);
  z-index: 1;
}

.wwd-header-content {
  position: relative;
  z-index: 2;
}

.wwd-main-title {
  padding: 5rem 0;
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 15px;
  letter-spacing: 1px;
  background: linear-gradient(to top right, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* About Us Card */
.wwd-intro-card {
  background: #ffffff;
  color: #242424;
  margin: 3rem 5rem 0.5rem 5rem;
  padding: 4rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wwd-intro-text {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: #4a5568;
}

/* Main Content */
.wwd-main-content {
  margin: 0 5rem;
  background: white;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

/* Services Grid */
.wwd-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.wwd-service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wwd-service-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.wwd-service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.wwd-service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
  background: linear-gradient(to top right, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wwd-service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  text-align: justify;
}

.wwd-service-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wwd-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wwd-service-card:hover .wwd-service-image img {
  transform: scale(1.05);
}

/* Service Card Accent Colors */
.wwd-service-card:nth-child(1) .wwd-service-icon {
  background-image: linear-gradient(to top right, #ef4444, #dc2626);
}

.wwd-service-card:nth-child(2) .wwd-service-icon {
  background-image: linear-gradient(to top right, #f97316, #ea580c);
}

.wwd-service-card:nth-child(3) .wwd-service-icon {
  background-image: linear-gradient(to top right, #eab308, #d97706);
}

.wwd-service-card:nth-child(4) .wwd-service-icon {
  background-image: linear-gradient(to top right, #22c55e, #16a34a);
}

.wwd-service-card:nth-child(5) .wwd-service-icon {
  background-image: linear-gradient(to top right, #3b82f6, #2563eb);
}

.wwd-service-card:nth-child(6) .wwd-service-icon {
  background-image: linear-gradient(to top right, #a855f7, #9333ea);
}

/* Responsive Design */
@media (max-width: 768px) {
  .wwd-main-title {
    font-size: 2.5rem;
    padding: 3rem 0;
  }

  .wwd-intro-card,
  .wwd-main-content {
    margin: 1.2rem;
    padding: 1.5rem;
  }

  .wwd-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wwd-service-card {
    padding: 1.5rem;
  }

  .wwd-service-header {
    flex-direction: column;
    text-align: center;
  }

  .wwd-service-icon {
    align-self: center;
  }

  .wwd-header-section {
    margin-top: 60px;
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .wwd-main-title {
    font-size: 2rem;
  }

  .wwd-intro-text {
    font-size: 1rem;
  }

  .wwd-service-title {
    font-size: 1.2rem;
  }
}

/* Animation for cards on scroll */
.wwd-service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.wwd-service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.wwd-service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.wwd-service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.wwd-service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.wwd-service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.wwd-service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
