.contact-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    text-align: left;
    font-size: var(--h2-font-size);
    margin-bottom: 60px;
    color: var(--h2-text-color);
}

.contact-content h2::after {
    content: '';
    display: block;
    width: 460px;
    height: 3px;
    background-color: var(--header-link-color);
    margin-top: 10px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #FEF6EA;
  margin: 0;
  padding: 0;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: 100vh;
  background-color: #FFF1DD;
}

/* Fade-in animation  */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-carousel {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  background-color: #fff6e3;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-carousel::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: url('/assets/img/ball.svg') no-repeat center center;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(-20deg);
  pointer-events: none;
}

/* === Contact Info === */
.contact-info h2 {
  font-size: 32px;
  margin-bottom: 10px;
  border-bottom: 2px solid #d4a21f;
  display: inline-block;
  padding-bottom: 5px;
}

.contact-info img {
  width: 70px;
  height: 70px;
  display: block;
  margin: 0 auto 20px auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-info img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.contact-info p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.contact-info p span {
  color: #d4a21f;
  font-weight: 600;
}

.contact-info blockquote {
  margin-top: 20px;
  font-style: italic;
  background-color: #fff1cc;
  padding: 16px 20px;
  border-left: 5px solid #d4a21f;
  border-radius: 10px;
  color: #555;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4a21f;
  box-shadow: 0 0 0 3px rgba(212, 162, 31, 0.2);
  outline: none;
}

.contact-form input:hover,
.contact-form textarea:hover {
  transform: translateY(-2px);
}

.contact-form button {
  background-color: #d4a21f;
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(212, 162, 31, 0.2);
}

.contact-form button:hover {
  background-color: #b88f19;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-info img {
    margin: 0 auto 20px;
  }

  .contact-info,
  .contact-form {
    text-align: left;
  }
}
