/* Variables */
:root {
  --primary-color: #000000;
  --primary-hover: #333333;
  --secondary-color: #333333;
  --accent-color: #666666;
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-muted: #888888;
  --bg-light: #ffffff;
  --bg-dark: #000000;
  --bg-accent: #f5f5f5;
  --footer-bg: #111111;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, #333333 0%, #666666 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  --gradient-dark: linear-gradient(135deg, #000000 0%, #333333 100%);
  --transition-default: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --border-radius: 0.75rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
  min-height: 100vh;
  padding-top: 80px;
}

/* Container & Layout */
.form-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .form-container {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* Header & Instructions */
h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.instructions {
  background: linear-gradient(to right, #fef3c7, #fff7ed);
  border: 1px solid #fcd34d;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.instructions strong {
  color: #92400e;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.instructions strong i {
  color: #d97706;
}

.instructions ul {
  list-style: none;
  padding-left: 1.5rem;
}

.instructions ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #78350f;
}

.instructions ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d97706;
}

/* Form Section Grid */
.form-section-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
}

/* Form Grid Layout */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 0;
}

/* Form Elements Enhancement */
.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Floating Labels Enhancement */
.floating-label {
  position: relative;
  height: fit-content;
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 1.25rem 1rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition-default);
  line-height: 1.5;
}

.floating-label textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 1.75rem;
}

.floating-label label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  background: transparent;
  padding: 0 0.25rem;
  color: var(--text-muted);
  transition: var(--transition-default);
  pointer-events: none;
  font-size: 0.95rem;
  margin: 0;
}

.floating-label textarea + label {
  top: 1.25rem;
  transform: none;
}

.floating-label input:focus,
.floating-label textarea:focus,
.floating-label input:not(:placeholder-shown),
.floating-label textarea:not(:placeholder-shown) {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.floating-label input:focus + label,
.floating-label textarea:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: 0.5rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 500;
  transform: none;
  background: transparent;
}

/* Select Input Enhancement */
select.glass-effect {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  height: 3.5rem;
  transition: var(--transition-default);
}

/* Co-Authors Section Enhancement */
.co-authors-section {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--bg-light);
  margin-top: 1rem;
}

.co-authors-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.co-author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-accent);
  border-radius: var(--border-radius);
  position: relative;
  margin-bottom: 1rem;
}

/* Form Navigation Enhancement */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .co-author-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-section-grid {
    gap: 1.5rem;
  }

  .floating-label input,
  .floating-label textarea,
  select.glass-effect {
    font-size: 16px; /* Prevents zoom on mobile */
  }

  .form-navigation {
    flex-direction: column;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .form-navigation .btn {
    width: 100%;
  }
}

/* Animation Enhancement */
.form-step {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease-in-out;
}

.form-step.active {
  opacity: 1;
  transform: translateX(0);
}

/* Glass Effect Enhancement */
.glass-effect {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Input States */
.floating-label input:focus::placeholder,
.floating-label textarea:focus::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.floating-label input:not(:focus)::placeholder,
.floating-label textarea:not(:focus)::placeholder {
  color: transparent;
}

/* Optional Field Styling */
.floating-label input:optional + label::after {
  content: ' (Optional)';
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

/* Form Validation Enhancement */
.floating-label input:invalid:not(:placeholder-shown),
.floating-label textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger-color);
}

.floating-label input:invalid:not(:placeholder-shown) + label,
.floating-label textarea:invalid:not(:placeholder-shown) + label {
  color: var(--danger-color);
}

/* Form Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Form Elements */
.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-column label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-column input,
.form-column select,
.form-column textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition-default);
  box-shadow: var(--box-shadow);
}

.form-column input:focus,
.form-column select:focus,
.form-column textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-column textarea {
  min-height: 100px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-default);
  text-decoration: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
  background: linear-gradient(to right, var(--secondary-color), #14b8a6);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
}

/* Co-Author Section */
#coAuthorsContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.removeCoAuthor {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--danger-color);
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.removeCoAuthor:hover {
  background-color: var(--danger-hover);
}

/* File Upload */
.file-upload {
  position: relative;
  margin-bottom: 2rem;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem;
  border: 2px dashed var(--text-muted);
  border-radius: var(--border-radius);
  background: var(--bg-light);
  cursor: pointer;
  transition: var(--transition-default);
  text-align: center;
  width: 100%;
}

.file-upload-label:hover {
  border-color: var(--primary-color);
  background: var(--bg-accent);
}

.file-upload-label i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.file-upload-label span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 1rem;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.file-help {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* File Upload Status */
.file-status {
  margin-top: 1rem;
}

.alert {
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  animation: fadeIn 0.3s ease-out;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #065f46;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
}

.alert i {
  font-size: 1.1rem;
}

/* Gradient border animation for file upload */
.file-upload.gradient-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--border-radius) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.file-upload.gradient-border:hover::before {
  opacity: 0.1;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .file-upload-label {
    padding: 2rem 1rem;
  }

  .file-upload-label i {
    font-size: 2rem;
  }

  .file-upload-label span {
    font-size: 1rem;
  }
}

/* Validation Messages */
#mobileValidationMessage {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  animation: fadeIn 0.3s ease-out;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#mobileValidationMessage::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#mobileValidationMessage.valid {
  background-color: #f0fdf4;
  color: var(--secondary-color);
}

#mobileValidationMessage.invalid {
  background-color: #fef2f2;
  color: var(--danger-color);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Loading States */
.btn.loading {
  position: relative;
  color: transparent;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility Improvements */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.required {
  color: var(--danger-color);
  margin-left: 0.25rem;
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 1.125rem;
  padding: 1.25rem;
  width: 100%;
  max-width: 320px;
  margin: 2.5rem auto 0;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

/* Navigation */
nav.d-flex {
  margin-bottom: 2rem;
}

nav.d-flex .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Form Focus States */
.form-column input:focus,
.form-column select:focus,
.form-column textarea:focus {
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
  border-color: var(--primary-color);
}

/* Hover Effects */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn:active {
  transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.btn.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
  .form-container {
    margin: 0;
    padding: 1.5rem;
    border-radius: 0;
  }

  h2 {
    font-size: 1.75rem;
  }

  .submit-btn {
    max-width: 100%;
    margin-top: 2rem;
  }

  .co-authors-section h3 {
    font-size: 1.25rem;
  }
}

/* Transitions */
.form-column input,
.form-column select,
.form-column textarea,
.btn {
  transition: var(--transition-default);
}

/* Placeholder Styling */
::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Select Styling */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-accent);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Page Title Section */
.page-title-section {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  padding: 3rem 0;
  color: white;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.8);
}

/* Form Section Enhancements */
.form-section {
  padding: 2rem 0 4rem;
  background-color: var(--bg-accent);
  background: transparent;
}

.form-container {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Navigation Enhancements */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--text-muted);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.navbar-custom .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar-custom.scrolled {
  background: var(--bg-light);
  box-shadow: var(--box-shadow);
  padding: 0.75rem 0;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
}

.navbar-title {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Animations */
@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  animation: formFadeIn 0.5s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .page-title-section {
    padding: 2rem 0;
  }

  .page-title {
    font-size: 2rem;
  }

  .form-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero-section {
  background: var(--gradient-dark);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.hero-content .display-4 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--text-light);
  margin: 2rem auto;
  opacity: 0.2;
}

.hero-content .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-position: bottom;
  background-repeat: no-repeat;
  opacity: 0.1;
}

/* Progress Steps */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg-accent);
  transform: translateY(-50%);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  background: var(--bg-light);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-accent);
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-default);
}

.step-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-step.active .step-number {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.progress-step.active .step-title {
  color: var(--primary-color);
  font-weight: 600;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.step-content {
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Utility Classes */
.animate-fadeInUp {
  animation: fadeIn 0.6s ease-out forwards;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Form Grid Layout */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Form Elements Enhancement */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Floating Labels Enhancement */
.floating-label {
  position: relative;
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition-default);
}

.floating-label textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 1.5rem;
}

.floating-label label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  background: var(--bg-light);
  padding: 0 0.5rem;
  color: var(--text-muted);
  transition: var(--transition-default);
  pointer-events: none;
  font-size: 0.95rem;
}

.floating-label textarea + label {
  top: 1.5rem;
}

.floating-label input:focus,
.floating-label textarea:focus,
.floating-label input:not(:placeholder-shown),
.floating-label textarea:not(:placeholder-shown) {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.floating-label input:focus + label,
.floating-label textarea:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
}

.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
}

/* Select Input Enhancement */
select.glass-effect {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  transition: var(--transition-default);
}

select.glass-effect:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

select.glass-effect:hover {
  border-color: var(--primary-color);
}

/* Glass Effect Enhancement */
.glass-effect {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition-default);
}

.glass-effect:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--primary-color);
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--text-muted);
}

@media (max-width: 768px) {
  .form-navigation {
    flex-direction: column;
  }

  .form-navigation .btn {
    width: 100%;
  }
}

/* Input Placeholder Enhancement */
.floating-label input::placeholder,
.floating-label textarea::placeholder {
  color: transparent;
}

/* Optional Field Styling */
.floating-label input:optional + label::after {
  content: ' (Optional)';
  color: var(--text-muted);
  font-size: 0.8em;
}

/* Form Validation Enhancement */
.floating-label input:invalid:not(:placeholder-shown),
.floating-label textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger-color);
}

.floating-label input:invalid:not(:placeholder-shown) + label,
.floating-label textarea:invalid:not(:placeholder-shown) + label {
  color: var(--danger-color);
}

/* Form Step Animation */
.form-step {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease-in-out;
}

.form-step.active {
  opacity: 1;
  transform: translateX(0);
}
