/* Home Page Styles */

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero-content {
  padding: 0 1.5rem;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1a5276;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
}

.hero-image img {
  max-height: 70vh;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Overview */
.services-overview {
  padding: 5rem 1.5rem;
  text-align: center;
  background-color: #fff;
}

.services-overview h2 {
  margin-bottom: 3rem;
  display: inline-block;
}

.services-overview h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #1a5276;
}

.service-card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

.service-card .learn-more {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.view-all {
  margin-top: 2rem;
}

/* About Us Section */
.about-us {
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem;
  background-color: #f8f9fa;
}

.about-content {
  flex: 1;
  padding-right: 3rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials {
  padding: 5rem 1.5rem;
  text-align: center;
  background-color: #fff;
}

.testimonials h2 {
  margin-bottom: 3rem;
  display: inline-block;
}

.testimonials h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 0 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial p::before,
.testimonial p::after {
  content: '"';
  color: #3498db;
  font-size: 1.5rem;
  font-weight: bold;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.client-name {
  font-weight: 600;
  color: #1a5276;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.slider-controls button {
  background-color: transparent;
  border: 2px solid #3498db;
  color: #3498db;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.slider-controls button:hover {
  background-color: #3498db;
  color: #fff;
}

/* Call to Action */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background-color: #1a5276;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-section h2::after {
  background-color: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.cta-section p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-section .cta-button {
  background-color: #fff;
  color: #1a5276;
  margin-bottom: 2rem;
}

.cta-section .cta-button:hover {
  background-color: #f8f9fa;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 0;
  }

  .hero-content {
    padding: 0 1.5rem 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-us {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    padding-right: 0;
    padding-bottom: 3rem;
  }

  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem;
  }

  .hero img {
    max-height: 50vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .services-overview,
  .about-us,
  .testimonials,
  .cta-section {
    padding: 3rem 1.5rem;
  }
}
