/* Base Styles */
.services-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

section {
  padding: 4rem 1.5rem;
  margin: 0 auto;
  max-width: 1200px;
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.3rem;
}

/* Button Styles */
button {
  border: none;
  border-radius: 30px;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0066ff;
  color: white;
}

.btn-primary:hover {
  background-color: #0052cc;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #0066ff;
  border: 1px solid #0066ff;
}

.btn-secondary:hover {
  background-color: rgba(0, 102, 255, 0.1);
}

.btn-learn-more {
  background-color: transparent;
  color: #0066ff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-learn-more:hover {
  color: #0052cc;
}

.btn-learn-more i {
  margin-left: 0.3rem;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 1.5rem;
  background-color: #f5f7fa;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.subheading {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Services Grid */
.services-grid {
  background-color: white;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 2.5rem;
  color: #0066ff;
  margin-bottom: 1.5rem;
}

.price {
  font-weight: 600;
  color: #0066ff;
  margin: 1rem 0;
}

/* Why Choose Us */
.why-choose-us {
  background-color: #f5f7fa;
}

.reasons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.reason {
  text-align: center;
  padding: 1.5rem;
}

.reason-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Comparison Table */
.comparison {
  background-color: white;
}

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

th, td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: #f5f7fa;
  font-weight: 600;
}

.fa-check {
  color: #00cc66;
}

.fa-times {
  color: #ff3333;
}

.comparison-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Testimonials */
.testimonials {
  background-color: #f5f7fa;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
}

.avatar {
  font-size: 2rem;
  margin-right: 1rem;
}

.name {
  font-weight: 600;
}

.role {
  color: #666;
  font-size: 0.9rem;
}

/* Call to Action */
.cta {
  background-color: #0066ff;
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta .btn-secondary {
  color: white;
  border-color: white;
}

.cta .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  section {
    padding: 3rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons button, .cta-buttons button {
    width: 100%;
    max-width: 250px;
    margin-bottom: 0.5rem;
  }
  
  .grid-container, .reasons-container, .testimonials-container {
    grid-template-columns: 1fr;
  }
}