.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  padding: 40px 0 80px;
}

.school-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.school-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.school-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.school-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.school-card:hover .school-image img {
  transform: scale(1.05);
}

.school-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.school-header {
  margin-bottom: 24px;
}

.school-type {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(0, 122, 255, 0.1);
  color: #007AFF;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.school-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1d1d1f;
  line-height: 1.3;
}

.school-location {
  display: flex;
  align-items: center;
  color: #86868b;
  font-size: 16px;
  margin-bottom: 20px;
}

.school-location i {
  margin-right: 8px;
}

.school-description {
  color: #515154;
  line-height: 1.7;
  margin-bottom: 32px;
  flex-grow: 1;
  font-size: 17px;
}

.cooperation-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.cooperation-stats {
  display: flex;
  gap: 24px;
}

.cooperation-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cooperation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.empty-icon {
  font-size: 64px;
  color: #d2d2d7;
  margin-bottom: 24px;
}

.empty-state h3 {
  font-size: 28px;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.empty-state p {
  color: #86868b;
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .schools-grid {
    padding: 20px 0 20px;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
  .school-content {
    padding: 14px;
  }
  .school-location {
    margin-bottom: 0px;
  }
  .school-description {
    margin-bottom: 20px;
  }
  .school-header {
    margin-bottom: 20px;
  }
  .school-name {
    font-size: 28px;
  }

  .cooperation-info {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .cooperation-stats {
    width: 100%;
    justify-content: space-between;
  }

}
