body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0A1128;
  color: #FFFFFF;
}
.container {
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.profile-hero {
  width: 100%;
  height: 460px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  margin-bottom: 2rem;
}

.profile-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://www.dropbox.com/scl/fi/fxphd6723tbqmg5iun65m/M4LES_Press_1.jpg?rlkey=l25bjal32rjdh897n3balgalo&raw=1");
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.85);
}

.profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,17,40,0) 75%, #0A1128 100%);
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border: 3px solid white;
  display:none;
}

.logo {
  margin: 0 auto 1rem auto;
  max-width: 180px;
  height: auto;
}

.slogan {
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
  margin: 1rem 0 2rem;
}

.social-icons {
  margin: 1rem 0 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 6px #FF4F1F55;
}

.social-icons a svg {
  width: 32px;
  height: 32px;
  display: block;
  margin: auto;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
}

.link-with-thumb img {
  position: relative;
    width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.link-with-thumb span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  text-align: center;
}

.link-with-thumb .thumb-wrapper {
  position: relative;
}

.link-with-thumb .thumb-wrapper::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path fill='%23FF3D00' d='M43.2,33.9c-0.4,2.1-2.1,3.7-4.2,4c-3.3,0.5-8.8,1.1-15,1.1c-6.1,0-11.6-0.6-15-1.1c-2.1-0.3-3.8-1.9-4.2-4C4.4,31.6,4,28.2,4,24c0-4.2,0.4-7.6,0.8-9.9c0.4-2.1,2.1-3.7,4.2-4C12.3,9.6,17.8,9,24,9c6.2,0,11.6,0.6,15,1.1c2.1,0.3,3.8,1.9,4.2,4c0.4,2.3,0.9,5.7,0.9,9.9C44,28.2,43.6,31.6,43.2,33.9z'/><path fill='%23FFF' d='M20 31L20 17 32 24z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.link {
  display: block;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #444;
  border-radius: 10px;
  text-decoration: none;
  color: #FFFFFF;
  background-color: #1A1C2C;
  transition: background 0.3s;
}
.link:hover {
  background-color: #2A2D40;
}

.link.link-with-thumb {
  padding: 0.5rem;
}

footer {
  margin: 2rem;
  font-size: 0.9rem;
  color: #E0E0E0;
}

footer a,
footer button {
  background: none;
  border: none;
  color: #FF4F1F;
  font-size: inherit;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  margin: 0 0.5rem;
}

footer a:hover,
footer button:hover {
  text-decoration: underline;
}

.highlight {
  color: #FF4F1F;
  font-weight: bold;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  color: black;
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.hidden {
  display: none;
}

.modal .close-popup {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color:#000;
}
.hidden {
  display: none;
}
.popup-content {
  position: relative;
  max-width: 600px;
  margin: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.link {
  animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 480px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    padding: 0rem;
  }

  .link {
    font-size: 1rem;
    padding: 1rem;
  }

  /*.logo {
    max-width: 100px;
  }*/

  .slogan {
    font-size: 1rem;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
  }

  .social-icons a svg {
    width: 28px;
    height: 28px;
  }

  footer {
    font-size: 0.9rem;
  }
}