/* ==========================================================================
   Components — Buttons, Cards, Forms, Badges
   ========================================================================== */

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}
.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(0, 168, 90, 0.3);
  text-decoration: none;
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(0, 168, 90, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: #fff;
}
.btn-glow:active {
  transform: translateY(0);
}

.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: transparent;
  color: var(--brand-light);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}
.btn-outline-glow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}

/* Bootstrap button overrides for dark theme */
.btn-get-started {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(0, 168, 90, 0.3);
}
.btn-get-started:hover {
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--brand-light) !important;
  border-color: var(--brand-light) !important;
  box-shadow: var(--shadow-glow);
}

/* ---------- Forms (altius-form) ---------- */
.altius-form,
.php-email-form {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.altius-form .form-control,
.altius-form .form-select,
.php-email-form .form-control,
.php-email-form .form-select,
.contact .form-control,
.contact .form-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.altius-form .form-control:focus,
.altius-form .form-select:focus,
.php-email-form .form-control:focus,
.php-email-form .form-select:focus,
.contact .form-control:focus,
.contact .form-select:focus {
  background: var(--bg-hover);
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(0, 168, 90, 0.15);
  color: var(--text-primary);
  outline: none;
}
.altius-form .form-control::placeholder,
.php-email-form .form-control::placeholder,
.contact .form-control::placeholder {
  color: var(--text-tertiary);
}
.altius-form textarea.form-control,
.php-email-form textarea.form-control,
.contact textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.altius-form label,
.php-email-form label,
.contact label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.altius-form button[type="submit"],
.php-email-form button[type="submit"] {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(0, 168, 90, 0.3);
}
.altius-form button[type="submit"]:hover,
.php-email-form button[type="submit"]:hover {
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-2px);
}

/* Form states */
.altius-form .loading,
.php-email-form .loading {
  display: none;
  text-align: center;
  padding: 12px;
  color: var(--text-secondary);
}
.altius-form .error-message,
.php-email-form .error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 4px;
}
.altius-form .sent-message,
.php-email-form .sent-message {
  color: var(--brand-light);
  background: rgba(0, 168, 90, 0.1);
  border: 1px solid rgba(0, 168, 90, 0.2);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

/* File upload styling */
.altius-form input[type="file"],
.php-email-form input[type="file"],
.contact input[type="file"] {
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}
.altius-form input[type="file"]:hover,
.php-email-form input[type="file"]:hover {
  border-color: var(--brand-light);
}

/* ---------- Badges ---------- */
.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.badge-pill:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.badge-accent {
  background: rgba(0, 168, 90, 0.1);
  border-color: rgba(0, 168, 90, 0.2);
  color: var(--brand-light);
}

/* ---------- Info Container (Contact page) ---------- */
.info-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}
.info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.info-item:last-child {
  border-bottom: none;
}
.info-item i {
  font-size: 1.25rem;
  color: var(--brand-light);
  margin-right: 12px;
  flex-shrink: 0;
}
.info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.info-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
