.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.subject-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.subject-card ul {
    list-style: none;
    padding: 0;
}

.subject-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.subject-card li:last-child {
    border-bottom: none;
}

.features {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.features h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    background: #667eea;
    color: white;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

/* Стили для страницы FAQ */
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-category {
  margin-bottom: 50px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid #4a6bff;
}

.faq-category h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: #444;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

.contact-faq {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border-radius: 15px;
  margin: 40px 20px;
}

.contact-faq h2 {
  margin-bottom: 15px;
}

/* Стили для страницы "О нас" */
.about-mission {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.mission-content h2 {
  color: #333;
  margin-bottom: 20px;
}

.mission-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.team-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  font-size: 3rem;
  margin-bottom: 15px;
}

.member-role {
  color: #4a6bff;
  font-weight: 600;
  margin-bottom: 10px;
}

.member-bio {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.values-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #f8f9ff;
  border-radius: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 25px;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.value-item h3 {
  margin-bottom: 10px;
  color: #333;
}

.partners-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.partner-item {
  text-align: center;
  padding: 20px;
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
}

.partner-logo {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-invitation {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  color: white;
  border-radius: 15px;
  margin: 40px;
}

/* Стили для страницы новостей */
.news-filters {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #4a6bff;
  background: white;
  color: #4a6bff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4a6bff;
  color: white;
}

.news-grid {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
}

.news-card.featured h2 {
  color: white;
}

.news-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.news-category {
  display: inline-block;
  background: #eef4ff;
  color: #4a6bff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.news-card.featured .news-category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.news-card h2 {
  margin: 15px 0;
  font-size: 1.3rem;
}

.news-card p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-read-more {
  color: #4a6bff;
  text-decoration: none;
}