/* Hostel page styles */
.hostel-page {
  padding-top: 5rem;
}

.hostel-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.hostel-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hostel-content {
  padding: 2rem;
}

.hostel-content h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-item i {
  color: #6b7280;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-item p {
  color: #4b5563;
}

.map-container {
  margin-top: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hostel-image {
    height: 300px;
  }
  
  .hostel-content {
    padding: 1.5rem;
  }
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.students-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
}

h2 {
  color: #333333;
  font-size: 26px;
  margin-bottom: 20px;
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.student-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.student-card img {
  width: 100px;
  height: 100px;
  border-radius: 2%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #007bff;
}

h3 {
  color: #007bff;
  margin-bottom: 8px;
}

p {
  color: #555;
  font-size: 14px;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .students-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}