/* Contact Page Styles */
.page-header {
  background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
  padding: 120px 0 60px;
  margin-top: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a3f5f' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #BD10E0 0%, #009BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.page-header .lead {
  font-size: 1.25rem;
  color: #8892b0;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #0a192f;
}

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

/* Contact Form */
.contact-form-wrapper {
  background: rgba(10, 25, 47, 0.7);
  border: 1px solid rgba(189, 16, 224, 0.3);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

/* Alerts */
.alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.alert svg {
  flex-shrink: 0;
}

.alert p {
  margin: 0;
}

.alert-success {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}

.alert-error {
  background: rgba(255, 0, 60, 0.1);
  border: 1px solid rgba(255, 0, 60, 0.3);
  color: #ff003c;
}

/* Department Selector */
.department-selector {
  margin-bottom: 3rem;
}

.department-selector h3 {
  color: #ccd6f6;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.department-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.department-button {
  background: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(189, 16, 224, 0.3);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #8892b0;
}

.department-button:hover {
  transform: translateY(-2px);
  border-color: #009BFF;
  background: rgba(0, 155, 255, 0.1);
}

.department-button.active {
  background: rgba(189, 16, 224, 0.2);
  border-color: #BD10E0;
  color: #ccd6f6;
}

.department-button svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.department-button.active svg {
  color: #BD10E0;
}

.department-button span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  color: #ccd6f6;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(189, 16, 224, 0.3);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  color: #ccd6f6;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #009BFF;
  background: rgba(0, 155, 255, 0.05);
}

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

/* Button */
.btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background: #BD10E0;
  color: white;
}

.btn-primary:hover {
  background: #d424f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(189, 16, 224, 0.4);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

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

.info-card {
  background: rgba(10, 25, 47, 0.7);
  border: 1px solid rgba(189, 16, 224, 0.3);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.info-card h3 {
  color: #BD10E0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-card p {
  color: #8892b0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

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

.contact-item svg {
  width: 24px;
  height: 24px;
  color: #009BFF;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item h4 {
  color: #ccd6f6;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.contact-item p {
  color: #8892b0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Office List */
.office-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.office h4 {
  color: #009BFF;
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.office p {
  color: #8892b0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .department-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .department-buttons {
    grid-template-columns: 1fr;
  }
  
  .office-list {
    grid-template-columns: 1fr;
  }
}