.contact-hero {
  text-align: center;
}

.contact-badge {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  background: #f8f9fa;
}
.contact-badge i {
  color: #20d3ee;
}
body.dark-mode .contact-badge {
  color: #9ca3af;
  border-color: #234348;
  background: #152629;
}
[dir=rtl] .contact-badge, .rtl .contact-badge {
  flex-direction: row-reverse;
}

.contact-title {
  color: #1a1a1a;
}
body.dark-mode .contact-title {
  color: #ffffff;
}

.contact-description {
  color: #4b5563;
}
body.dark-mode .contact-description {
  color: #9ca3af;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
}
body.dark-mode .contact-card {
  background: #1a2c30;
  border-color: #234348;
}

.contact-card-title {
  color: #1a1a1a;
  margin-bottom: 0;
}
body.dark-mode .contact-card-title {
  color: #ffffff;
}

.contact-card-community {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-color: rgba(99, 102, 241, 0.2);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
[dir=rtl] .contact-info-item, .rtl .contact-info-item {
  flex-direction: row-reverse;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #20d3ee;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
}
[dir=rtl] .contact-info-content, .rtl .contact-info-content {
  text-align: right;
}

.contact-info-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.dark-mode .contact-info-label {
  color: #6b7280;
}

.contact-info-value {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 250ms ease;
}
.contact-info-value:hover {
  color: #20d3ee;
}
body.dark-mode .contact-info-value {
  color: #ffffff;
}

.contact-social .social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #4b5563;
  font-size: 1.25rem;
  transition: all 250ms ease;
}
.contact-social .social-link:hover {
  background: #20d3ee;
  border-color: #20d3ee;
  color: #fff;
}
body.dark-mode .contact-social .social-link {
  background: #152629;
  border-color: #234348;
  color: #9ca3af;
}
[dir=rtl] .contact-social, .rtl .contact-social {
  justify-content: flex-start;
}

.contact-faq-link a {
  text-decoration: none;
  font-weight: 500;
}
.contact-faq-link a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
}
body.dark-mode .contact-form-wrapper {
  background: #1a2c30;
  border-color: #234348;
}

.contact-form-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
body.dark-mode .contact-form-header {
  border-bottom-color: #234348;
}
[dir=rtl] .contact-form-header, .rtl .contact-form-header {
  flex-direction: row-reverse;
}

.contact-form .form-label {
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
body.dark-mode .contact-form .form-label {
  color: #9ca3af;
}
.contact-form .form-control,
.contact-form .form-select {
  background: #f8f9fa;
  border-color: #e5e7eb;
  color: #1a1a1a;
  padding: 0.75rem 1rem;
}
.contact-form .form-control::placeholder,
.contact-form .form-select::placeholder {
  color: #9ca3af;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: #f1f5f9;
  border-color: #20d3ee;
  box-shadow: 0 0 0 0.25rem rgba(32, 211, 238, 0.25);
}
body.dark-mode .contact-form .form-control,
body.dark-mode .contact-form .form-select {
  background: #152629;
  border-color: #234348;
  color: #ffffff;
}
body.dark-mode .contact-form .form-control::placeholder,
body.dark-mode .contact-form .form-select::placeholder {
  color: #6b7280;
}
body.dark-mode .contact-form .form-control:focus,
body.dark-mode .contact-form .form-select:focus {
  background: #1a2c30;
}
.contact-form .input-group-text {
  background: #f1f5f9;
  border-color: #e5e7eb;
  color: #9ca3af;
}
body.dark-mode .contact-form .input-group-text {
  background: #1a2c30;
  border-color: #234348;
  color: #6b7280;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
[dir=rtl] .contact-form .input-group, .rtl .contact-form .input-group {
  flex-direction: row-reverse;
}
[dir=rtl] .contact-form .input-group-text, .rtl .contact-form .input-group-text {
  border-radius: 0 0.5rem 0.5rem 0 !important;
  border-left: 1px solid #e5e7eb;
  border-right: none;
}
body.dark-mode [dir=rtl] .contact-form .input-group-text, body.dark-mode .rtl .contact-form .input-group-text {
  border-left-color: #234348;
}
[dir=rtl] .contact-form .input-group .form-control,
[dir=rtl] .contact-form .input-group .form-select, .rtl .contact-form .input-group .form-control,
.rtl .contact-form .input-group .form-select {
  border-radius: 0.5rem 0 0 0.5rem !important;
  text-align: right;
}
[dir=rtl] .contact-form .btn .ms-2, .rtl .contact-form .btn .ms-2 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

[dir=rtl] .contact-page,
.rtl .contact-page {
  text-align: right;
}
[dir=rtl] .contact-page .row,
.rtl .contact-page .row {
  flex-direction: row-reverse;
}
