/* Base styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0a2a4a;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 16px;
  right: 24px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Main content */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
}

/* Circular profile pic */
.profile-pic {
  width: 225px;
  height: 225px;
  background-color: white;
  border-radius: 50%;
  border: 4px solid #0a2a4a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -50px;
  z-index: 2;
}

.profile-pic img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Card */
.card {
  background-color: white;
  width: 100%;
  padding: 60px 80px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-top: 20px;
}

.card h1 {
  margin-top: 0;
  font-size: 1.6rem;
}

.card p {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
}

/* Corner brackets */
.corner {
  width: 20px;
  height: 20px;
  border: 5px solid black;
  position: absolute;
}

.top-left {
  top: 10px;
  left: 10px;
  border-bottom: none;
  border-right: none;
}

.bottom-right {
  bottom: 10px;
  right: 10px;
  border-top: none;
  border-left: none;
}

/* Social icons */
.social-icons {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.icon {
  width: 75px;
  height: 75px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.icon:hover {
  transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 700px) {
  .navbar {
    top: 12px;
    right: 16px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 8px;
    background-color: rgba(10, 42, 74, 0.95);
    padding: 8px 12px;
    border-radius: 6px;
  }

  .navbar a {
    font-size: 1.2rem;
  }

  .profile-pic {
    width: 175px;
    height: 175px;
    margin-top: 0.6rem;
    margin-bottom: -3.6rem;
  }

  .profile-pic img {
    width: 80%;
    height: 80%;
  }

  .main-content {
    max-width: calc(100% - 20px);
    padding-left: 10px;
    padding-right: 10px;
  }

  .card {
    padding: 50px 15px 32px;
    max-width: calc(100% - 30px);
  }

  .card h1 {
    font-size: 1.4rem;
  }

  .card p {
    font-size: 1.1rem;
  }

  .icon {
    width: 60px;
    height: 60px;
  }
}
