body {
  font-family: 'Inter', sans-serif;
  background: url("images/bg.webp") no-repeat left center fixed;
  background-size: cover;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center; /* vertical centering */
  padding: 3rem;       /* breathing room */
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* Overlay gradient on top of background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom right, #00416599, #00609499);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1; /* above overlay */
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem 2rem 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 580px;  /* desktop width */
  min-width: 280px;  /* mobile minimum */
}

/* Profile */
.profile-img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 1rem 0 1rem 0;
}

/* Headings */
h1 {
  margin: 0 0 1.5rem 0;
  color: #004165;
  font-size: 1.75rem;
}
p {
  margin: 0 0 2rem 0;
  color: #555;
  font-size: 1rem;
}

/* Buttons: icons left, text centered */
.link-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
  background-color: #004165;
  transition: transform 0.2s, background 0.2s;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.link-button:hover {
  transform: scale(1.03);
  background-color: #772432;
}

.link-button .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 36px;
}

.link-button.facebook .icon {
  width: 37px;
  height: auto;
  filter: invert(1);
}

.link-button.ti .icon {
  width: 38px;
  height: auto;
}

.link-button img.icon:not([src*="ti_logo.png"]),
.link-button i.icon {
  margin-left: 0.5px;
}

.link-button span {
  flex: 1;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }

  .container {
    width: 95%;
    padding: 1.5rem;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .link-button {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .link-button .icon {
    width: 28px;
    height: 28px;
    font-size: 28px;
  }

  .link-button.facebook .icon {
    width: 29px;
  }

  .link-button.ti .icon {
    width: 30px;
  }

}