:root {
  --navy: #0f172a;
  --red: #dc2626;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #e5e7eb;
  --dark-text: #334155;
  --accent: #4f5f7f;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-hover: rgba(15, 23, 42, 0.12);
  --gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --faq-bg: #f1f5f9;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--light);
  margin: 0;
  padding: 0;
  color: var(--dark-text);
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(220, 38, 38, 0.03) 0%, transparent 20%);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
}

/* Header Styling */
.form-header {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
  max-width: 480px;
}

.logo-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  width: 100%;
}

/* FAQ Button Styling */
.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--faq-bg);
  color: var(--navy);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
}

.faq-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.faq-btn:active {
  transform: translateY(0);
}

.faq-icon {
  font-weight: 700;
  font-size: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.faq-btn:hover .faq-icon {
  -webkit-text-fill-color: white;
  background: transparent;
}

.form-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.form-header p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Form container for positioning */
.form-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Form styling */
.service-form {
  width: 100%;
  max-width: 480px;
  padding: 35px 30px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 30px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-inline: auto;
  border: 1px solid rgba(229, 231, 235, 0.8);
  position: relative;
  overflow: hidden;
}

.service-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.form-group {
  position: relative;
  margin-bottom: 5px;
}

.service-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.label-hint {
  font-weight: 400;
  color: #94a3b8;
  font-size: 13px;
  margin-left: 4px;
}

/* Input fields — no dropdown icons */
.service-form input {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--gray);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  color: var(--navy);
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

.service-form input:hover {
  border-color: #94a3b8;
}

.service-form input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
  outline: none;
}

/* Select fields — only these have dropdown icons */
.service-form select {
  width: 100%;
  padding: 16px 45px 16px 16px;
  border: 1px solid var(--gray);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  color: var(--navy);
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--white)
    url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5" width="16" height="16"><path fill="%230f172a" d="M0 0l2 3 2-3z"/></svg>')
    no-repeat right 16px center;
  background-size: 12px 12px;
  font-family: "Inter", Arial, sans-serif;
  cursor: pointer;
}

.service-form select:hover {
  border-color: #94a3b8;
}

.service-form select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
  outline: none;
}

#service-select-wrapper {
  background: var(--white);
  border-radius: 10px;
  padding-inline-end: 5px;
}

/* Submit button */
.service-form button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: var(--navy);
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.2px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.service-form button[type="submit"]:hover {
  background: var(--red);
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.service-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Back button */
.back-home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 12px 24px;
  text-align: center;
  background: var(--white);
  color: var(--accent);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.back-home-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* Form footer */
.form-footer {
  text-align: center;
  margin-top: 25px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

.form-footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 15px;
  }

  .logo-area {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .back-home-btn, .faq-btn {
    width: 100%;
    justify-content: center;
  }

  .form-header h1 {
    font-size: 22px;
  }

  .service-form {
    padding: 25px 20px;
    border-radius: 14px;
  }

  .service-form select,
  .service-form input {
    padding: 14px 16px;
    font-size: 16px; /* Better for mobile touch */
  }

  .service-form button[type="submit"] {
    padding: 16px;
    font-size: 16px;
  }
  
  .back-home-btn, .faq-btn {
    padding: 12px 20px;
  }
}

/* Animation for form appearance */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-form, .form-header {
  animation: fadeIn 0.5s ease-out forwards;
}