/* Contact Page Modern Styles */

/* Hero Section */
.contact-hero {
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  background: var(--color-bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(9, 105, 218, 0.03) 0%, 
    rgba(124, 58, 237, 0.02) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
  color: var(--color-text-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.form-header {
  margin-bottom: var(--space-8);
}

.form-header h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.form-header p {
  color: var(--color-text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: 500;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.form-control {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all 0.2s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.btn-submit {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  color: white;
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-accent-purple) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(9, 105, 218, 0.3);
}

/* Contact Info */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xl);
}

.info-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
}

.info-card-content {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.info-card-content a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.info-card-content a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Office Locations */
.office-locations {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.office-locations h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.location-item {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.location-item:last-child {
  border-bottom: none;
}

.location-name {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.location-name i {
  color: var(--color-primary);
}

.location-details {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Quick Links */
.quick-links {
  background: linear-gradient(135deg, #f8faff 0%, #fff5f7 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.quick-links h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.quick-link:hover {
  color: var(--color-primary-hover);
  transform: translateX(4px);
}

.quick-link i {
  font-size: var(--text-sm);
}

/* Map Section */
.map-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-secondary);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 500px;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder {
  text-align: center;
  color: var(--color-text-secondary);
}

.map-placeholder i {
  font-size: var(--text-6xl);
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: var(--space-4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: var(--text-4xl);
  }
  
  .contact-hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .contact-form-container {
    padding: var(--space-6);
  }
  
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

/* Animations */
.contact-hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.contact-hero h1 {
  animation-delay: 0.2s;
}

.contact-hero-subtitle {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
