/* Contact Modern Styling - Following RCS Approach */

/* Contact Hero Section */
.contact-hero-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
}

.contact-method i {
  font-size: 1.2rem;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-method-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

.contact-method-value {
  font-weight: 700;
}

/* Contact Form Section */
.contact-form-modern {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 50%, #f0f8ff 100%);
  position: relative;
  overflow: hidden;
}

.contact-form-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.contact-form-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-info {
  padding: 2rem 0;
}

.contact-form-header {
  margin-bottom: 2rem;
}

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

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

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #667eea;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

.contact-info-content a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.contact-info-content a:hover {
  text-decoration: underline;
}

/* Modern Form Styling */
.contact-form-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

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

.modern-form-label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.modern-form-input,
.modern-form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8f9fa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.modern-form-input:focus,
.modern-form-textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.modern-form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8f9fa;
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.modern-form-select:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-submit-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.form-submit-btn:active {
  transform: translateY(-1px);
}

/* Success Message */
.form-success-message {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.form-success-message.show {
  display: flex;
}

/* Office Hours */
.office-hours-section {
  background: white;
  position: relative;
}

.office-hours-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.office-hours-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.office-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.office-hours-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.office-hours-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.office-hours-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.office-hours-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.office-hours-time {
  color: var(--gray);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-methods {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .office-hours-card {
    padding: 2rem;
  }
  
  .office-hours-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-methods {
    gap: 1rem;
  }
  
  .contact-method {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .office-hours-item {
    padding: 1.5rem;
  }
}