/* Contact Page Styles */
:root {
  --primary-blue: #667eea;
  --secondary-purple: #764ba2;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --background-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;

  /* Gradient Variables */
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-3: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --gradient-4: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

body {
  background: linear-gradient(to bottom, #f1f5f9, #ffffff);
  min-height: 100vh;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem;
  text-align: center;
  margin-top: 50px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.8rem;
}

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

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #667eea;
  outline: none;
}

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

.file-hint {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.contact-icon:hover {
  transform: scale(1.1);
}

.contact-details h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-details p {
  color: #666;
  margin-bottom: 0.25rem;
}

/* Speech Recognition Button */
.speech-input-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.speech-input-button:hover {
  transform: translateY(-50%) scale(1.1);
}

.speech-input-button.listening {
  animation: pulse 1.5s infinite;
}

/* Social Links */
.social-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.social-links h3 {
  margin-bottom: 1rem;
  color: #333;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  transition: all 0.3s;
}

.social-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f4ff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #666;
}

.faq-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #eee;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.faq-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.faq-toggle {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .contact-section {
    padding: 2rem 0;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}
