:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --sidebar-bg: #2a2185;
  --sidebar-color: #f1f1f1;
  --sidebar-hover: #ffff;
  --sidebar-active-color: #2a2185;
  --primary-color: #4f46e5;
}

.dark {
  --bg-color: #1a1a1a;
  --text-color: #f1f1f1;
  --sidebar-bg: #2c2c2c;
  --sidebar-color: #f1f1f1;
  --sidebar-hover: #1a1a1a;
  --sidebar-active-color: #fff;
  --primary-color: #818cf8;
}

.contact-section {
  padding: 40px;
  background: var(--bg-color);
  border-radius: 20px;
  margin: 40px 20px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  animation: fadeInUp 0.6s ease;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
  animation: fadeInDown 0.5s ease;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeInLeft 0.6s ease;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background: var(--bg-color);
  color: var(--text-color);
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form button {
  background: var(--primary-color);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background: #3333e0;
  transform: scale(1.03);
}

.contact-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInRight 0.6s ease;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateX(5px);
}

.info-card i {
  font-size: 28px;
  color: var(--primary-color);
}
.info-card a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 24px;
  color: var(--primary-color);
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #3333e0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
