/* ============================================
   CONTACT PAGE SPECIFIC STYLES
   ============================================ */

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
}

.contact-container {
  width: 100%;
  max-width: 1200px;
}

/* Header Section */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1aff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-header p {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Content - Split Layout */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card,
.socials-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.socials-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(26, 26, 255, 0.15);
}

.info-card h3,
.socials-card h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1aff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(26, 26, 255, 0.1);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(26, 26, 255, 0.03);
  transition: background 0.3s ease, transform 0.3s ease;
}

.info-item:hover {
  background: rgba(26, 26, 255, 0.08);
  transform: translateX(5px);
}

.info-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 255, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.info-details h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.info-details a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  color: #1a1aff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-details a:hover {
  color: #0000e6;
  text-decoration: underline;
}

.info-details p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Social Links */
.socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(26, 26, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.social-link:hover {
  background: rgba(26, 26, 255, 0.1);
  border-color: rgba(26, 26, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(26, 26, 255, 0.2);
}

.social-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-link:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.social-link span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.social-link:hover span {
  color: #1a1aff;
}

/* Contact Form Side */
.contact-form-wrapper {
  position: sticky;
  top: 100px;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 30px rgba(26, 26, 255, 0.15);
}

.contact-card h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1aff;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(26, 26, 255, 0.1);
}

/* Form Styles */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.label-text {
  color: #333;
}

.required {
  color: #a30101;
  font-weight: 700;
}

.feedback-input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafafa;
  color: #333;
}

.feedback-input::placeholder {
  color: #999;
}

.feedback-input:focus {
  outline: none;
  border-color: #1a1aff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 26, 255, 0.1);
  transform: translateY(-2px);
}

.feedback-input:valid:not(:placeholder-shown) {
  border-color: #4caf50;
}

textarea.feedback-input {
  resize: vertical;
  min-height: 120px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1aff 0%, #4e4eff 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(26, 26, 255, 0.3);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.submit-btn::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.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(26, 26, 255, 0.4);
  background: linear-gradient(135deg, #0000e6 0%, #1a1aff 100%);
}

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

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover svg {
  transform: translateX(4px);
}

/* Form Message */
.form-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #4caf50;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 2px solid #ef5350;
}

.form-message.info {
  background: #e3f2fd;
  color: #1565c0;
  border: 2px solid #2196f3;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Support */
[data-theme="dark"] .info-card,
[data-theme="dark"] .socials-card,
[data-theme="dark"] .contact-card {
  background: var(--card-background);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-header h2 {
  color: #4d4dff;
}

[data-theme="dark"] .contact-header p {
  color: var(--gray-color);
}

[data-theme="dark"] .info-card h3,
[data-theme="dark"] .socials-card h3,
[data-theme="dark"] .contact-card h3 {
  color: #4d4dff;
  border-bottom-color: rgba(77, 77, 255, 0.2);
}

[data-theme="dark"] .info-item {
  background: rgba(77, 77, 255, 0.1);
}

[data-theme="dark"] .info-item:hover {
  background: rgba(77, 77, 255, 0.15);
}

[data-theme="dark"] .info-details h4 {
  color: var(--text-color);
}

[data-theme="dark"] .info-details a {
  color: #4d4dff;
}

[data-theme="dark"] .info-details p {
  color: var(--gray-color);
}

[data-theme="dark"] .social-link {
  background: rgba(77, 77, 255, 0.1);
}

[data-theme="dark"] .social-link:hover {
  background: rgba(77, 77, 255, 0.2);
  border-color: rgba(77, 77, 255, 0.4);
}

[data-theme="dark"] .social-link span {
  color: var(--text-color);
}

[data-theme="dark"] .social-link:hover span {
  color: #4d4dff;
}

[data-theme="dark"] .feedback-input {
  background: var(--light-gray);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .feedback-input:focus {
  border-color: #4d4dff;
  background: var(--card-background);
  box-shadow: 0 0 0 4px rgba(77, 77, 255, 0.2);
}

[data-theme="dark"] .form-group label {
  color: var(--text-color);
}

[data-theme="dark"] .submit-btn {
  background: linear-gradient(135deg, #4d4dff 0%, #6d6dff 100%);
  box-shadow: 0 4px 15px rgba(77, 77, 255, 0.3);
}

[data-theme="dark"] .submit-btn:hover {
  background: linear-gradient(135deg, #3d3dff 0%, #4d4dff 100%);
  box-shadow: 0 6px 25px rgba(77, 77, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-wrapper {
    position: static;
  }

  .contact-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 60px 15px 40px;
  }

  .contact-header {
    margin-bottom: 40px;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .info-card,
  .socials-card,
  .contact-card {
    padding: 24px;
  }

  .socials {
    grid-template-columns: 1fr;
  }

  .contact-card h3,
  .info-card h3,
  .socials-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .contact-header h2 {
    font-size: 1.8rem;
  }

  .info-card,
  .socials-card,
  .contact-card {
    padding: 20px;
  }

  .submit-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
}
