body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Blurred background */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("background.jpg") no-repeat center center fixed;
  background-size: cover;
  filter: blur(6px) brightness(0.7);
  z-index: 0;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Profile photo */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* makes it circular */
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #090909; /* white outline */
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
  color: #262525; /* dark grey */
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #000 !important;
}

/* Divider */
.divider {
  width: 320px;         /* longer underline */
  border: 0.5px solid #fff;  /* slightly bolder line */
  margin: 1rem auto 2rem auto;
  border-radius: 1px;   /* smoother edges */
}

/* Links (icons + resume) */
.links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.links a {
  font-size: 1.5rem; /* bigger icons */
  color: #fff;
  text-decoration: none;
  border: none;
  transition: color 0.2s ease;
}

/* Resume button (keeps original style) */
.btn {
  font-size: 0.15rem;
  padding: 0.5rem 0.5rem;
  border: 1px solid #8b8989;
  border-radius: 6px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #8b8989;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #7a7a7a;
  color: #000;
}


/* Hover effect */
.links a:hover {
  color: #000; /* gold for icons */
}
.links a:first-child:hover {
  background-color: #fff;
  color: #000;
}

.about-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(0,0,0,0.6);
  border-radius: 10px;
  color: #fff;
  text-align: left;   /* let content (like Work items) align properly */
  z-index: 1;
  position: relative;
}

.about-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #bbbab7;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.back-link {
  margin-top: 2rem;
}

.back-link a {
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.back-link a:hover {
  background: #fff;
  color: #000;
}
.work-section {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.work-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.work-item img {
  height: 40px;    /* smaller, consistent logo size */
  width: auto;
  flex-shrink: 0;  /* prevents logos from stretching */
}

.work-details {
  flex: 1;         /* take remaining space */
}

.work-details h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.work-details p {
  margin: 0.2rem 0 0 0;
  font-size: 0.95rem;
  color: #ccc;
}
/* ===== Modal for full-size profile picture ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #bbb;
}
