@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");

:root {
  --black: #191a23;
  --lime-green: #b9ff66;
  --card-bg-grey: #f3f3f3;
  --dark-grey: #292a32;
  --light-grey: #f8f8f8;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Service Details Page Styles */
.service-details-page {
  padding: 2rem 0;
  background-color: var(--white);
}

/* Hero Section */
.service-hero {
  background: var(--light-grey);
  padding: 5rem 0;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(185, 255, 102, 0.1), transparent);
  z-index: 1;
}

.service-hero .container {
  display: flex;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-hero-content {
  flex: 1;
  max-width: 600px;
}

.service-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Updated image container and styling */
.service-hero-image-container {
  flex: 1;
  max-width: 550px;
  height: 450px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.service-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.service-hero-image:hover {
  transform: scale(1.05);
}

.service-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--dark-grey);
  margin-bottom: 2rem;
}

/* Key Points Section */
.key-points {
  margin: 2rem 0;
}

.key-points-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.key-point-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  padding-left: 2.5rem;
  position: relative;
}

.key-point-item::before {
  content: "✓";
  color: var(--lime-green);
  font-weight: bold;
  background: var(--black);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Features Section */
.service-features {
  padding: 4rem 0;
  background: var(--white);
}

.service-features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-features h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light-grey);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-grey);
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--lime-green);
  background: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-hero-content h1 {
    font-size: 3rem;
  }

  .service-hero {
    padding: 4rem 0;
  }

  .service-hero-image-container {
    max-width: 450px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .service-hero .container {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .service-hero-content {
    text-align: left;
  }
  .service-hero-content h1 {
    text-align: center;
  }
  .service-intro {
    text-align: left;
  }
  .service-hero-image-container {
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin: 0 auto;
  }

  .key-points-list {
    align-items: flex-start;
    margin-left: 0;
  }

  .key-point-item {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-hero-content h1 {
    font-size: 2rem;
  }

  .service-intro {
    font-size: 1.1rem;
  }

  .service-hero {
    padding: 3rem 0;
  }

  .service-hero-image-container {
    max-width: 100%;
  }

  .service-features h2 {
    font-size: 2rem;
  }
  .key-point-item {
    font-size: 1rem;
  }
}
