/* ===========================================
   CONTACT PAGE STYLING
   =========================================== */

/* #region : Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/hero-bg-1614x500.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}
/* #endregion */

/* #region : Contact Info */
.contact-info {
    padding: 60px 20px;
    text-align: center;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.contact-card h3 {
    color: #4b0082;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

.social-links a {
    color: #f04e30;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #d74228;
}
/* #endregion */

/* #region : Responsive */
@media (max-width: 768px) {
    .contact-info-grid {
        flex-direction: column;
        align-items: center;
    }
}
/* #endregion */

/* Contact Form Section */
.contact-form-section {
  background: #f7f7f7;
  padding: 60px 20px;
}

.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  width: 100%;
}

.contact-form button {
  background: #4b0082;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: #350066;
  transform: translateY(-2px);
}

/* ==================== CONTACT SUCCESS ANIMATION ==================== */
.success-animation {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.success-animation.show {
  display: flex;
  animation: fadeIn 200ms ease-out;
}

.success-animation img {
  width: 84px;
  height: 84px;
  display: block;
  margin: 0 auto 10px auto;
}

.success-animation p {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
