/* General Styles */
.mountscore-content {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin-top: 75px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  color: #2c3e50;
}

p,
li {
  line-height: 1.8;
  color: #555;
}

/* Welcome Section */
.welcome-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.welcome-content {
  flex: 1;
}

.welcome-image {
  flex: 1;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.5),
    rgba(41, 128, 185, 0.5)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-container:hover .gradient-overlay {
  opacity: 1;
}

/* Why MountScore Section */
.why-mountscore-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* Services Section */
.services-section {
  margin-bottom: 40px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #3498db;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-button {
  background: #3498db;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

/* Responsive Design */
@media (min-width: 768px) {
  .welcome-section {
    flex-direction: row;
    gap: 40px;
    padding: 30px;
  }

  .why-mountscore-section,
  .cta-section {
    padding: 30px;
  }

  .service-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (min-width: 1024px) {
  .welcome-section {
    gap: 60px;
  }
}
