.hero {
  background: linear-gradient(to right, #056dff10, #00c2ff10);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 400px;
  border-radius: 0;
  box-shadow: none;
}

.hero-image::before {
  display: none;
}

.hero-image img {
  overflow: hidden;
  position: relative;
  height: 400px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-image img {
  transition: transform 0.3s ease-in-out;
}

.hero-image:hover img {
  transform: scale(1.25);
}

.features {
  background-color: var(--light-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding: 0 20px;
}

.service-card a.btn {
  align-self: center;
  /* Center button horizontally */
  min-width: 100px;
  /* Minimum width for button */
  text-align: center;
}

.service-card h3 {
  margin-top: 15px;
}

.service-card .btn {
  margin: 0 20px 20px;
}

.service-card .btn,
.btn-sm {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 25px;
  /* Rounded button */
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-top: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(5, 109, 255, 0.3);
  /* Soft shadow with primary color */
  border: none;
}

.service-card .btn:hover,
.btn-sm:hover {
  background-color: #0456c8;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(5, 109, 255, 0.4);
}

.testimonials {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.testimonials-slider {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.testimonials-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(100%);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide.prev {
  opacity: 0;
  transform: translateX(-100%);
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid var(--primary-color);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: 'Georgia', serif;
  line-height: 1;
}

.testimonial-content {
  padding: 30px 25px 10px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  padding: 15px 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.author-info h4 {
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.slider-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 110%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  left: -5%;
}

.slider-btn.slider-prev {
  margin-left: -15px;
}

.slider-btn.slider-next {
  margin-right: -15px;
}

.slider-btn {
  background-color: white;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}