/* Fix for the providers page styles */

/* Hero section */
.providers-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
}

/* Fix for section titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-description {
  color: var(--text-color);
  opacity: 0.8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Provider filter section */
.provider-filters {
  background: var(--card-bg);
  padding: 2rem 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

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

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-color);
}

.filter-group select {
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Provider cards */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.provider-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.provider-content {
  padding: 1.5rem;
}

.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.provider-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.provider-rating {
  text-align: right;
}

.provider-rating .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.provider-rating span {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.provider-features {
  margin-bottom: 1.5rem;
}

.provider-features h3 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.provider-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.provider-features li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-features li i {
  color: var(--primary-color);
}

.provider-pricing {
  background: rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.provider-pricing h3 {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.provider-pricing .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.provider-pricing .price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  opacity: 0.7;
}

.provider-pricing a {
  display: inline-block;
  width: 100%;
}

/* Provider comparison section */
.provider-comparison {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--background-color), var(--card-bg));
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-color);
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  color: var(--text-color);
}

.comparison-table td i {
  color: var(--primary-color);
}

.comparison-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.05);
}

.comparison-note {
  margin-bottom: 2rem;
  color: var(--text-color);
  opacity: 0.8;
  text-align: center;
}

.comparison-note i {
  color: var(--primary-color);
}

.full-comparison {
  text-align: center;
}

/* FAQ section */
.provider-faq {
  padding: 4rem 0;
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-color);
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
  
  .providers-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .provider-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .provider-rating {
    text-align: center;
  }
}

/* Provider highlight banner */
.provider-highlight {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  text-align: center;
  font-weight: 600;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.provider-highlight i {
  color: #FFD700;
} 