body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f9fb;
  margin: 0;
}

#banner-space {
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 02px 8px rgba(0,0,0,0.05);
  margin-bottom: 02px;
  margin-top: 03%;
}
.banner image{
  width: 100%;
  height: 0%;
  margin: auto;
  align-items: center;
}

#main-content {
  display: flex;
  max-width: 3000px;
  margin: 50 auto;
}

#filter-sidebar {
  width: 280px;
  background: #fff;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  margin-right: 30px;
  height: 600px;
}

#college-search {
  width: 95%;
  padding: 10px;
  margin-bottom: 22px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.filter-group h4 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 500;
}

.scroll-checkbox {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.scroll-checkbox label {
  margin-bottom: 6px;
  display: block;
  cursor: pointer;
  white-space: nowrap;
  font-size: 15px;
}

#college-list-section {
  flex: 1;
}

#college-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(330px,1fr));
  gap: 30px;
}

.college-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.10);
  padding-bottom: 14px;
  overflow: hidden;
  transition: transform 0.15s;
  display: flex;
  flex-direction: column;
}

.college-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.college-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

.logo-top-right {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.logo-top-right img {
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.college-info {
  padding: 15px 17px 8px 17px;
}

.college-name {
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #2d4157;
}

.college-location,
.college-rating,
.college-fee,
.college-type-stream {
  font-size: 14px;
  color: #5c6e77;
  margin-bottom: 3px;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 13px;
}

.action-btn {
  padding: 7px 18px;
  border-radius: 7px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  background: #2080f5;
  color: #fff;
  transition: background 0.2s;
  font-weight: 500;
}

.action-btn.brochure {
  background: #e0e6ed;
  color: #2080f5;
  border: 1px solid #2080f5;
}

.action-btn:hover {
  background: #1355b9;
  color: #fff;
}

.action-btn.brochure:hover {
  background: #1355b9;
  color: #fff;
}

#pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 32px;
}

.page-btn {
  padding: 6px 15px;
  background: #e0e6ed;
  border-radius: 8px;
  border: none;
  color: #2080f5;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}

.page-btn.active, .page-btn:hover {
  background: #2080f5;
  color: #fff;
}

@media (max-width:900px){
  #main-content {
    flex-direction: column;
  }
  #filter-sidebar {
    margin-right: 0;
    margin-bottom: 18px;
  }
  #college-list {
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  }
}
.college-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
}

.college-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.college-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.college-card h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.college-card p {
  color: #555;
  margin-bottom: 10px;
}

.college-card .buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.college-card .btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
