/* Profile photo style for circular display */
.profile-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0073b1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 1.5rem;
}

/* Reset & basics */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb;
  color: #333;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

/* Container */
.container {
  background: white;
  max-width: 600px;
  width: 100%;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  text-align: center;
}

/* Heading */
h1 {
  margin-bottom: 0.2rem;
  font-weight: 700;
  color: #111;
}

p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Buttons */
.buttons a {
  text-decoration: none;
  display: inline-block;
  margin: 0.3rem 0.7rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  color: white;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}

.buttons a:first-child {
  background-color: #0073b1; /* LinkedIn blue */
}

.buttons a:nth-child(2) {
  background-color: #24292e; /* GitHub dark */
}

.buttons a:hover {
  filter: brightness(1.1);
}

/* Contact Form */
.contact-form {
  margin-top: 2.5rem;
  text-align: left;
}

.contact-form h2 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0073b1;
}

.contact-form button {
  background-color: #0073b1;
  color: white;
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgb(0 115 177 / 0.3);
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
}

.contact-form button:hover {
  background-color: #005f8d;
}

/* reCAPTCHA widget centering */
.g-recaptcha {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
  }
  .buttons a {
    width: 100%;
    margin: 0.4rem 0;
    text-align: center;
  }
  .contact-form button {
    width: 100%;
  }
}
