/* Contact page specific styles */

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Form */
.contact-form-container {
  width: 100%;
}

.contact-form-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: 0.375rem;
  background-color: var(--background);
  font-size: 0.875rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6b7280;
  pointer-events: none;
}

.form-select {
  appearance: none;
  padding-right: 2rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-label {
  font-weight: normal;
  font-size: 0.875rem;
}

.privacy-checkbox {
  display: flex;
  margin-bottom: 0.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  height: 20px;
}

input[type="checkbox"] {
  margin: 0;
  position: relative;
  top: 0;
}

.checkbox-label {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.4;
}

.submit-button {
  width: 100%;
  background-color: var(--accent);
  color: white;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: rgba(var(--accent-rgb), 0.9);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success Message */
.form-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.success-icon-container {
  width: 4rem;
  height: 4rem;
  background-color: rgba(var(--accent-rgb), 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.success-icon {
  font-size: 2rem;
  color: var(--accent);
}

.primary-button {
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.primary-button:hover {
  background-color: rgba(var(--primary-rgb), 0.9);
}

/* Contact Information */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card,
.schedule-call-card,
.what-to-expect-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-info-content {
  flex: 1;
}

.contact-info-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-info-text {
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.contact-info-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Social Media Section */
.social-media-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.social-media-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.social-media-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.linkedin-icon {
  background-color: rgba(10, 102, 194, 0.1);
}

.linkedin-icon i {
  color: #0a66c2;
}

.linkedin-icon:hover {
  background-color: rgba(10, 102, 194, 0.2);
}

.twitter-icon {
  background-color: rgba(29, 161, 242, 0.1);
}

.twitter-icon i {
  color: #1da1f2;
}

.twitter-icon:hover {
  background-color: rgba(29, 161, 242, 0.2);
}

.facebook-icon {
  background-color: rgba(24, 119, 242, 0.1);
}

.facebook-icon i {
  color: #1877f2;
}

.facebook-icon:hover {
  background-color: rgba(24, 119, 242, 0.2);
}

/* Schedule Call Card */
.schedule-call-description {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.consultation-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.consultation-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(var(--accent-rgb), 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consultation-icon i {
  color: var(--accent);
  font-size: 1.25rem;
}

.consultation-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.consultation-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

.book-call-button {
  display: block;
  width: 100%;
  background-color: var(--accent);
  color: white;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  text-align: center;
  transition: background-color 0.2s;
}

.book-call-button:hover {
  background-color: rgba(var(--accent-rgb), 0.9);
}

/* What to Expect Card */
.what-to-expect-card {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.what-to-expect-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.what-to-expect-description {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.what-to-expect-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.what-to-expect-step {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--primary);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  height: auto;
  overflow: visible;
  cursor: text;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  padding: 0;
  display: block;
}

.faq-answer {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  display: block;
  overflow: visible; /* Ensure content is not cut off */
  height: auto; /* Remove any height constraints */
  max-height: none; /* Remove any max-height constraints */
  opacity: 1; /* Ensure full opacity */
  visibility: visible; /* Ensure visibility */
}

/* CTA Section */
.cta-container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: white;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.cta-primary-button:hover {
  background-color: rgba(var(--accent-rgb), 0.9);
}

.cta-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid white;
  color: white;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.cta-secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Utility classes */
.text-accent {
  color: var(--accent);
}

.hover\:underline:hover {
  text-decoration: underline;
}

/* Fix for form alignment */
input[type="radio"],
input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  width: auto;
}

/* Fix for select dropdown */
.form-select {
  width: 100%;
  height: 38px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='  stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.select-wrapper::after {
  display: none;
}

