body {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  font-family: 'Montserrat', 'Lora', sans-serif;
  margin: 0;
  min-height: 100vh;
}

.header {
  background: rgba(30,58,138,0.95);
  box-shadow: 0 2px 16px rgba(30,58,138,0.10);
  padding: 0.7rem 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffd700;
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.18s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav ul li a.active,
nav ul li a:hover {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

.profile-section {
  padding: 3rem 0 2rem 0;
}
.profile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}
.profile-card {
  background: rgba(255,255,255,0.13);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30,58,138,0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 350px;
  text-align: center;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.2rem auto;
}
.profile-avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffd700;
  background: #fff;
  box-shadow: 0 2px 12px #ffd70033;
}
.avatar-upload-label {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffd700;
  color: #1e3a8a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.avatar-upload-label:hover {
  background: #fff;
  color: #ffd700;
}
.profile-card h2 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffd700;
}
.profile-email,
.profile-location {
  color: #e0e7ef;
  font-size: 1rem;
  margin: 0.2rem 0;
  font-family: 'Lora', serif;
}
.profile-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.edit-btn,
.logout-btn {
  background: #ffd700;
  color: #1e3a8a;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.edit-btn:hover,
.logout-btn:hover {
  background: #fff;
  color: #2563eb;
}
.profile-details {
  background: rgba(255,255,255,0.13);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30,58,138,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 400px;
  color: #fff;
  font-family: 'Lora', serif;
}
.profile-details h3 {
  margin-top: 0;
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}
.profile-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-details li {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.profile-details strong {
  color: #ffd700;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
@media (max-width: 900px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .profile-card, .profile-details {
    min-width: 90vw;
    max-width: 98vw;
  }
  .header .container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
}
@media (max-width: 600px) {
  .profile-card, .profile-details {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .profile-section {
    padding: 1.2rem 0 1.2rem 0;
  }
  .logo {
    font-size: 1.1rem;
  }
  nav ul {
    gap: 1rem;
  }
}