/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: linear-gradient(120deg, #f8f9fb, #e3ecf5);
  overflow-x: hidden;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 80px 20px;
  animation: fadeIn 1.2s ease-in;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-title {
  text-align: center;
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 10px;
  animation: slideDown 1s ease;
}

.contact-title span {
  color: #f59e0b;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  animation: fadeIn 1.5s ease;
}

/* ===== Contact Content ===== */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
}

/* ===== Contact Info ===== */
.contact-info {
  flex: 1 1 350px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInLeft 1.2s ease;
}

.contact-info h2 {
  color: #007bff;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1rem;
  margin: 10px 0;
  color: #444;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  font-size: 1.4rem;
  margin-right: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* ===== Contact Form ===== */
.contact-form {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInRight 1.2s ease;
}

.input-group {
  margin-bottom: 20px;
  padding: 5px;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  padding: 5px;
}

input:focus, textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
  outline: none;
  padding: 5px;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #3b82f6);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: pulse 2.5s infinite;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #3b82f6, #f59e0b);
  transform: translateY(-3px);
}



/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
  background: #f0f4f7;
  border-top: 1px solid #ddd;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); }
  50% { box-shadow: 0 0 15px 10px rgba(0, 123, 255, 0.2); }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    width: 100%;
  }

  .contact-title {
    font-size: 2rem;
  }
}
