/* Contact Page Styles - TameerAI */
html {
  scroll-behavior: smooth;
}

.contact-page {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #ecfeff 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.contact-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.05);
}

.contact-header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-header .logo-section {
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-header .logo-section:hover {
  opacity: 0.8;
}

.contact-header .header-logo {
  height: 70px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

/* Header Navigation */
.contact-header .header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-header .nav-link {
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 0;
  position: relative;
}

.contact-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
  transition: width 0.3s;
}

.contact-header .nav-link:hover {
  color: #14b8a6;
}

.contact-header .nav-link:hover::after {
  width: 100%;
}

.contact-header .nav-link.active {
  color: #14b8a6;
  font-weight: 600;
}

.contact-header .nav-link.active::after {
  width: 100%;
}

.contact-header .get-started-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
}

.contact-header .get-started-btn:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

/* Hero Section */
.contact-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.6) 0%, rgba(236, 254, 255, 0.3) 100%);
  border-radius: 0 0 40px 40px;
  animation: fadeInUp 0.8s ease-out;
}

.contact-hero .hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.1));
  color: #0d9488;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.contact-hero .hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-hero .hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Contact Content Section */
.contact-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem 2rem;
}

.contact-container {
  width: 100%;
}

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

/* Contact Information */
.contact-info {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
  height: fit-content;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(20, 184, 166, 0.15);
}

.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.15);
}

.info-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.info-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f0fdfa 100%);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.05);
}

.contact-method:hover {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon.email-icon {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.method-icon.office-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.method-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.method-details a {
  color: #14b8a6;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.method-details a:hover {
  color: #0d9488;
  text-decoration: underline;
}

.method-details p {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.method-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Support Hours */
.support-hours {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.support-hours h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item .day {
  font-weight: 500;
  color: #1f2937;
}

.hours-item .time {
  color: #14b8a6;
  font-weight: 600;
}

/* Contact Form */
.contact-form-container {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(20, 184, 166, 0.15);
}

.contact-form-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.15);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

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

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

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

.submit-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  color: #10b981;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #6b7280;
  font-size: 1rem;
}

/* Footer */
.contact-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #334155;
}

.contact-footer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-hero {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .contact-content-section {
    padding: 2rem 1.5rem 3rem 1.5rem;
  }
}

@media (max-width: 968px) {
  .contact-header .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact-header .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .contact-header .get-started-btn {
    order: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-hero {
    border-radius: 0 0 30px 30px;
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: 1rem 1.5rem;
  }

  .contact-header .nav-link {
    font-size: 0.875rem;
  }

  .contact-hero {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    border-radius: 0 0 24px 24px;
  }

  .contact-hero .hero-title {
    font-size: 2rem;
  }

  .contact-hero .hero-subtitle {
    font-size: 1.125rem;
  }

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

  .info-title,
  .form-title {
    font-size: 1.5rem;
  }

  .contact-method {
    padding: 1rem;
  }

  .method-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .contact-header {
    padding: 1rem;
  }

  .contact-hero {
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 0 0 20px 20px;
  }

  .contact-hero .hero-title {
    font-size: 1.75rem;
  }

  .contact-hero .hero-subtitle {
    font-size: 1rem;
  }

  .contact-content-section {
    padding: 1.5rem 1rem 2rem 1rem;
  }

  .contact-info,
  .contact-form-container {
    padding: 1.25rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .submit-btn {
    width: 100%;
  }
}
