/* Reset & Base Fix */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Layout */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f4f4f4;
  color: #1e1e1e;
  line-height: 1.7;
  margin: 0;
  padding-top: 100px; /* space for fixed navbar */
  overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 18px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar a {
  color: black;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #00bfff;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }

  .nav-center,
  .nav-right {
    margin-top: 10px;
  }
}

/* About Page Fix */
.about-page {
  display: block; /* ✅ change this from flex to block */
  padding: 0 20px;
}

.page-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.profile-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
}

.profile-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem;
}

.avatar-container {
  flex-shrink: 0;
}

.avatar-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0, 0, 0, 0.05);
}

.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

header h2 {
  color: #111;
  margin-bottom: 0.25rem;
}

.current-time {
  display: inline-block;
  background-color: #f8f9fb;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.current-time:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.bio {
  color: #222;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links h3 {
  font-size: 1rem;
  color: #111;
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
   transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f3f3f5;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  font-weight: 500;
}

.social-list a:hover {
  background-color: #e2e7f0;
   transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.lists-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.list-section h3 {
  color: #111;
  margin-bottom: 0.5rem;
}

.hobby-list,
.dislike-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hobby-list li::before {
  content: "•";
  color: #000;
  font-weight: bold;
  margin-right: 0.5rem;
}

.dislike-list li::before {
  content: "•";
  color: #d4183d;
  font-weight: bold;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lists-container {
    grid-template-columns: 1fr;
  }
}

.border{
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 10px 2px 5px rgba(0,0,0,0.1);
}
