/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden; /* Prevent scrolling */
}

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(13, 13, 13, 0.9);
  flex-shrink: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.logo .highlight {
  color: #f1c40f;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f1c40f;
}

/* Main Layout */
.contact-container {
  max-width: 600px; /* Was 1000px */
  width: 90%;
  margin: auto;
  padding: 1.5rem; /* Reduced padding */
  background-color: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Contact Title */
.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #facc15;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Form Section */
.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto; /* Scroll inside the form only if needed */
  padding-right: 0.5rem;
}

.form-wrapper h2 {
  font-size: 1.5rem;
  color:  white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

input,
textarea {
  flex: 1;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #333;
  background-color: #0d0d0d;
  color: #fff;
  font-size: 1rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background-color: #facc15;
  color: #0d0d0d;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.3s ease;
}

.send-btn:hover {
  background-color: #e6b800;
}

.send-btn i {
  stroke-width: 2.5;
}

/* Responsive */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }

  .contact-title {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
}
