/* Student Count Section Styles */
.student-count {
  padding: 60px 0;
}

.student-count .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.student-count .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2a2a2a;
}

.student-count .section-title p {
  font-size: 16px;
  color: #777;
}

/* Card Styles */
.student-count-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.student-count-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.student-count-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.student-count-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0;
}

.student-count-total {
  font-size: 32px;
  font-weight: 700;
  color: #e7e8ecd3;
  background: rgba(220, 222, 233, 0.849);
  border-radius: 50px;
  padding: 5px 20px;
}

.student-count-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.student-count-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-count-item i {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.student-count-item i.bi-gender-male {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
}

.student-count-item i.bi-gender-female {
  color: #d63384;
  background: rgba(214, 51, 132, 0.1);
}

.student-count-info {
  flex: 1;
}

.student-count-info h4 {
  font-size: 16px;
  margin: 0 0 5px;
  color: #555;
}

.student-count-number {
  font-size: 24px;
  font-weight: 700;
}

.student-count-item:nth-child(1) .student-count-number {
  color: #0d6efd;
}

.student-count-item:nth-child(2) .student-count-number {
  color: #d63384;
}

/* Total Card */
.student-count-total-card {
  background: rgba(65, 84, 241, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 25px 30px;
  margin: 30px auto 0;
  max-width: 600px;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(5px);
}

.student-count-total-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.student-count-total-card h3 span {
  font-size: 32px;
  font-weight: 700;
}

.student-count-total-details {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.student-count-total-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.student-count-total-item i {
  font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .student-count-total-details {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .student-count-card {
    padding: 20px;
  }
  
  .student-count-header h3 {
    font-size: 20px;
  }
  
  .student-count-total {
    font-size: 28px;
  }
  
  .student-count-number {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .student-count .section-title h2 {
    font-size: 28px;
  }
  
  .student-count-total-card h3 {
    font-size: 20px;
  }
  
  .student-count-total-card h3 span {
    font-size: 26px;
  }
  
  .student-count-total-item {
    font-size: 16px;
  }
}