.contact-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.contact-hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(20,27,45,0.9) 100%);
  border-radius: 15px;
  max-width: var(--max-width);
  margin: 0 auto 4rem;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/src/assets/images/CyberImg2.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
  border-radius: 15px;
}

.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.contact-hero p {
  font-size: 1.5rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info-panel {
  background: rgba(20, 27, 45, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.5;
}

.contact-info-panel h2 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-tagline {
  color: var(--text-color-light);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.info-item:hover {
  transform: translateX(5px);
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.1);
}

.info-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color-light);
}

.info-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.social-links {
  margin-top: auto;
}

.social-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.contact-form-panel {
  background: rgba(20, 27, 45, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-panel h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: var(--text-color-light);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  grid-column: span 2;
  padding: 1.2rem;
  background: var(--accent-color);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.submit-button:hover {
  background: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.3);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.status-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
  font-weight: 500;
}

.status-message.success {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.status-message.error {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Improve error styling for form fields */
.form-group.error label {
  color: #ff4757;
}

.input-error {
  border-color: #ff4757 !important;
  box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2) !important;
}

.error-message {
  color: #ff4757;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

/* Add a subtle animation for the success message */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.status-message.success {
  animation: pulse 2s infinite;
}

.map-section {
  max-width: var(--max-width);
  margin: 5rem auto 0;
  padding: 0 2rem;
}

.map-section h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
}

.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 27, 45, 0.8);
  color: var(--text-color-light);
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 3rem 1rem;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero p {
    font-size: 1.2rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .submit-button {
    grid-column: span 1;
    padding: 1rem;
  }
  
  .contact-info-panel,
  .contact-form-panel {
    padding: 2rem;
  }
  
  .map-container {
    height: 300px;
  }
}