@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFFFF;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ===== Custom Scrollbar ===== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== Avatar ===== */

.avatar-wrap {
  text-align: center;
  margin-bottom: 8px;
}

.avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f8f8f8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== Layout ===== */

.container {
  width: 100%;
  max-width: 560px;
  padding: 16px 24px 20px;
  margin: auto;
}

/* ===== Header / Hero ===== */

.logo-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.logo-wrap img {
  height: 18px;

  transition: opacity 0.15s ease;
}

h1.name {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.subtitle {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: #666666;
  margin-bottom: 0px;
}

.location {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  color: #666666;
  margin-bottom: 14px;
}

/* ===== Buttons ===== */

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1.5px solid #000000;
}

.btn-primary:hover {
  background-color: #1a1a1a;
}

.btn-primary:active {
  transform: scale(0.985);
  background-color: #111111;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1.5px solid #E2E2E2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  border-color: #CCCCCC;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.btn-secondary:active {
  transform: scale(0.985);
}

/* Contact Row */

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

/* ===== Social Icons ===== */

.social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0.4;
  transition: opacity 0.15s ease;
  font-size: 18px; /* Slightly reduced icon size */
  text-decoration: none;
}

.social-bar a:hover {
  opacity: 0.85;
}

.icon-rea svg {
  width: 22px; /* Adjusted to look visually balanced with FA icons */
  height: 22px;
  display: block;
}

.icon-rea path[fill="currentColor"] {
  fill: #000000;
}

/* ===== Form Page ===== */

.page-header {
  text-align: center;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-header h1 {
    font-size: 18px;
  }
}

.page-header p {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid #E2E2E2;
  border-radius: 8px;
  background: #FAFAFA;
  color: #000000;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 38px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #000000;
  background: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #AAAAAA;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #D32F2F;
  margin-top: 5px;
}

.form-error.visible {
  display: block;
}

.btn-submit {
  margin-top: 6px;
}

/* Success Message */

.success-msg {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.success-msg.visible {
  display: block;
}

.success-msg .check-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
}

.success-msg h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.success-msg p {
  font-size: 14px;
  color: #666666;
}

/* Fallback Contact */

.fallback-contact {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #F0F0F0;
}

.fallback-contact p {
  font-size: 13px;
  color: #999999;
}

.fallback-contact a {
  color: #000000;
  font-weight: 500;
  text-decoration: none;
}

.fallback-contact a:hover {
  text-decoration: underline;
}

/* Honeypot */

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Back Link */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999999;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: #000000;
}

.back-link i {
  font-size: 12px;
}
