/* Hero Section */
.services-hero {
  height: 80vh;
  min-height: 600px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      var(--gradient-start) 0%,
      var(--gradient-end) 100%
    ),
    url("http://sadiyausman.com/wp-content/uploads/2025/06/services-hero-bg.png")
      center/cover no-repeat;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 10s ease;
}

.services-hero:hover::before {
  transform: scale(1);
}

.hero-content-services {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
  color: var(--text-light, #ffffff);
}

.hero-content-services h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.hero-content-services h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: var(--accent);
}

.hero-content-services p {
  font-size: 1.4rem;
  margin: 3rem auto;
  max-width: 700px;
  color: var(--text-muted);
  font-style: italic;
  color: var(--text-muted, #cccccc);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}
.service-card:nth-child(3) {
  animation-delay: 0.2s;
}
.service-card:nth-child(4) {
  animation-delay: 0.3s;
}
.service-card:nth-child(5) {
  animation-delay: 0.4s;
}

.card-header {
  padding: 30px 30px 20px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(197, 157, 95, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .card-icon {
  background: var(--accent);
  color: var(--dark-bg);
  transform: scale(1.1);
}

.card-header h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  min-height: 70px;
}

.card-content {
  padding: 25px 30px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(25, 25, 40, 0.8) 0%,
    rgba(60, 40, 70, 0.4) 100%
  );
  z-index: 1;
  transition: var(--transition);
}

.service-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 50, 0.9) 0%,
    rgba(90, 60, 90, 0.6) 100%
  );
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* CTA Section */
.services-cta {
  padding: 120px 0;
  background: linear-gradient(
      135deg,
      rgba(18, 18, 32, 0.8) 0%,
      rgba(10, 10, 15, 0.9) 100%
    ),
    url("http://sadiyausman.com/wp-content/uploads/2025/06/services-cta-bg.webp")
      center/cover no-repeat;
  text-align: center;
  position: relative;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.9) 0%,
    rgba(90, 60, 90, 0.4) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--text-muted);
  line-height: 1.8;
}


