body {
  font-family: sans-serif;
  margin: 0;
  background: #f9f9f9;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 60px 20px;
  
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);

  color: white;
  border-radius: 0 0 20px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero h1, .hero p {
  min-height: 1em;
}

.create-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1); 
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px); 
  color: #fff; 
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.3); 
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-btn:hover {
  background: rgba(255, 255, 255, 0.2); 
}
/* SEARCH & FILTER */
.search-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px auto;
  max-width: 800px;
  padding: 0 20px;
}
.search-filters input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.filter-buttons button {
  margin: 5px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
.filter-buttons .active {
  background-color: #8a2be2;
  color: white;
}

/* FORM */
input, select, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button[type="submit"] {
  padding: 10px 20px;
  background: #203a43;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* MODAL FORM */
#formSection {
  display: none;
}
#feed {
  display: block;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  margin: 80px auto;
  padding: 20px;
  border-radius: 15px;
  max-width: 600px;
  position: relative;
}
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

/* SECTION WRAPPER */
.form-wrapper, .university-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.university-section h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
.card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 20px;
}

/* PROFILE CARD */
/* PROFILE CARD */
.profile-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* CARD HEADER */
.card-header {
  height: 120px;
  background: linear-gradient(135deg, #2c5364, #1f1c2c);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* AVATAR */
.avatar {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 5px solid #fff;
  border-radius: 50%;
  font-size: 28px;
  color: #6a11cb;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* CARD BODY */
.card-body {
  padding: 4.5rem 1.8rem 2rem;
  text-align: center;
}

.card-body h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

.card-body .title {
  font-size: 1rem;
  font-weight: 500;
  color: #6a11cb;
  margin-bottom: 0.6rem;
}

.card-body .meta {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 1rem;
}

.bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* SECTION */
.section {
  text-align: left;
  margin-top: 1.8rem;
}

.section h3 {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-left: 4px solid #6a11cb;
  padding-left: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.tag {
  background: #f3e8ff;
  color: #6a11cb;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* PROJECTS */
.project {
  background: #f8f9fa;
  padding: 0.9rem;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #444;
  border: 1px solid #eee;
}

/* ACTION BUTTONS */
.actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.actions button {
  padding: 8px 14px;
  border: none;
  background: #6a11cb;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.actions button:hover {
  background: #5b0eb8;
}

.card img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}
