/* --- Navbar styles --- */
.navbar-bg {
    width: 100vw;
    background: linear-gradient(to right, #fc4a1a, #f7b733);
    height: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.navbar {
    background: #f7f7f8;
    width: 100vw;
    position: fixed;
    top: 20px;
    left: 0;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    margin-top: 0;
    border-bottom: 1px solid #eee;
}
.navbar-content {
    width: 90vw;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0.75rem 2rem 0.75rem 2rem; /* Add horizontal padding */
    box-sizing: border-box;
}
.navbar-logo {
    border: 2px solid #111a24;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    background: #fff;
    color: #111a24;
}
.navbar-links {
    display: flex;
    gap: 2rem;
}
.navbar-links a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111a24;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}
.navbar-contact {
    border: 2px solid #111a24;
    border-radius: 8px;
    padding: 0.35rem 1.25rem;
    font-size: 1.4rem;
    font-weight: bold;
    background: #fff;
    color: #111a24;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.navbar-contact:hover {
    border-color: #111;
    color: #111;
}
/* --- End Navbar styles --- */

body {
    font-family: 'Poppins', sans-serif;
    background: #fc4a1a;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    margin: 0;
    /* Remove flex centering */
}

/* Center the contact card */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Account for fixed navbar height */
    padding-top: 120px;
    box-sizing: border-box;
}

.form-container {
    position: relative;
    background: #000;
    border-radius: 16px;
    padding: 30px;
    width: 350px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: fadeIn 0.8s ease-in-out;
    overflow: hidden;
    margin: 0; /* Remove previous margin */
  }

  /* Glossy highlight layer */
  .form-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      transparent 60%
    );
    transform: rotate(25deg);
    pointer-events: none;
    transition: transform 0.3s ease;
  }

  .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
  }

  label {
    display: block;
    margin: 15px 0 5px;
    font-size: 0.9rem;
    opacity: 0.9;
  }

  input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: rgba(255,255,255,0.15);
    color: white;
    transition: all 0.3s ease;
  }

  input:focus, textarea:focus {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
  }

  textarea {
    min-height: 100px;
    resize: none;
  }

  button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .success-message, .error-message {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
  }

  .success-message {
    color: #4effa1;
  }

  .error-message {
    color: #ff5e5e;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }