/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  color: #111827;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Container */
.contact-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

/* Info Panel */
.contact-info {
  flex: 2.5;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Form Panel */
.contact-form {
  flex: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-form h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Form Fields */
.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-group label {
  position: absolute;
  top: -0.70rem;
  left: 1rem;
  background-color: #fff;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.2s ease;
}

/* Inputs and textarea */
.input-group input,
.input-group textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #cbd2dc;
  border-radius: 0.5rem;
  outline: none;

}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  align-self: flex-start;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Single column on small screens */
@media(max-width:640px) {
  .contact-card {
    flex-direction: column;
    gap: 0rem;
  }
}

/* Select styling */
.input-group select {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #cbd2dc;
  border-radius: 0.5rem;
  outline: none;
  background-color: #fff;
  appearance: none;
  /* Remove default arrow */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' width='14' height='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' fill='none' stroke='%236b7280' stroke-width='15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.input-group select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.input-group input[type="checkbox"] {
  margin-right: 0.5rem;
}
