/* 
body {
  line-height: 1.6;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #333;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.card .read-more {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  color: #007bff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.card .read-more:hover {
  color: #0056b3;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
} */





.universitycards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1600px;
  margin: auto;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 12px 12px 0 0;
}

.card h3 {
  font-size: 1.25rem;
  margin: 15px 0;
  color: #222;
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.card .read-more {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  color: #ffffff;
  font-weight: bold;
  background: var(--reroof-base);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.card .read-more:hover {
  background: var(--reroof-black);
  
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
