/* Apple-inspired modern font and reset */
body {
  margin: 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: linear-gradient(#ffffff, #f7f7f7);
  color: #000;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background: url('/img/header-background.jpg') center/cover fixed;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.4);
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  border-bottom: 1px solid #e0e0e0;
  z-index: 10;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0071e3;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 2rem;
}

img.profile {
  display: block;
  max-width: 200px;
  margin: 2rem auto;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

img.profile:hover {
  transform: scale(1.05);
}

.profile-pic-container {
  display: flex;
  justify-content: flex-end; /* align image to right */
  align-items: center; /* vertically center */
  height: 100%; /* or set a specific height, e.g. 200px */
}
.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers everything horizontally */
  gap: 20px;           /* adds space between items */
}
.choices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Tiles / Cards with 3D hover */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tile {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.tile:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Recruiter Toolbox */
.recruiter-links {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recruiter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0071e3;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #005bb5;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
}

ul {
  padding-left: 1.5rem;
}

a {
  color: #0071e3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.choices {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.choices button {
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #0071e3;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, font-size 0.2s ease;
}

.choices button:hover {
  background-color: #339dff;
  transform: scale(1.05);
  font-size: 1.05rem;
}


.friend-socials {
  margin-top: 2rem;
  text-align: center;
}
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem 1rem;
}

.intro-content {
  max-width: 600px;
}

.intro-question {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
}
.friend-main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.friend-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 600px;
  width: 100%;
  margin-bottom: 2rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.friend-card input {
  padding: 0.75rem;
  width: 80%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1rem;
}

.friend-card button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0071e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.friend-card button:hover {
  background-color: #339dff;
  transform: scale(1.05);
}

.friend-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hidden {
  display: none;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 0;
  animation: fadeInAnim 0.4s forwards;
}

@keyframes fadeInAnim {
  from { opacity: 0; }
  to { opacity: 1; }
}

.button, .choices a.button {
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #0071e3;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, font-size 0.2s ease;
  display: inline-block;
}

.button:hover, .choices a.button:hover {
  background-color: #339dff;
  transform: scale(1.05);
  font-size: 1.05rem;
}
