/* =======================================
   CONTACT PAGE STYLES
======================================= */

.contact-hero {
  padding: 80px 5% 60px;
  background: linear-gradient(135deg, #faf9f6 0%, #ffffff 50%, #fdf8ee 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.05);
}

.contact-hero-left {
  flex: 1.2;
}

.contact-hero-tag {
  display: inline-block;
  background: rgba(17, 17, 17, 0.06);
  color: #111111;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.contact-hero-left h1 {
  font-size: 52px;
  font-weight: 900;
  color: #111111;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.contact-hero-left h1 span {
  color: #d4af37;
}

.contact-hero-desc {
  font-size: 16.5px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 14px;
}

.contact-hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-hero-right img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.03);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.4s ease;
}

.contact-hero-right img:hover {
  transform: translateY(-5px);
}

@media(max-width: 900px) {
  .contact-hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
    gap: 30px;
  }
  
  .contact-hero-left, .contact-hero-right {
    width: 100%;
  }

  .contact-hero-left h1 {
    font-size: 38px;
  }

  .contact-hero-right img {
    max-width: 380px;
  }
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 20px;
  align-items: flex-start;
}

.contact-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-info-col h2 {
  margin-top: 0 !important;
}

.contact-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 25px 0 35px;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #dde3ed;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.02);
}

.contact-detail-card:hover {
  transform: translateX(6px);
  border-color: #111111;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.06);
}

.contact-detail-card i {
  font-size: 20px;
  color: #111111;
  background: rgba(212, 175, 55, 0.08);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail-card:hover i {
  background: #111111;
  color: #fff;
}

.contact-detail-card strong {
  font-size: 14px;
  color: #111111;
  display: block;
  margin-bottom: 2px;
  font-weight: 800;
}

.contact-detail-card a {
  color: #222222;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-detail-card a:hover {
  color: #d4af37;
}

.contact-join-card {
  background: rgba(212, 175, 55, 0.06);
  border-left: 5px solid #111111;
  padding: 26px;
  border-radius: 14px;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.03);
}

.contact-join-card h3 {
  color: #111111;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
}

.contact-join-card p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0 !important;
  animation: none !important;
}

/* =======================================
   RESPONSIVE — CONTACT
======================================= */

@media(max-width: 900px) {
  .contact-detail-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =======================================
   ENHANCED MICRO-ANIMATIONS (contact page)
======================================= */

.contact-hero-left h1 {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.contact-hero-desc {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}
.contact-hero-tag {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Contact detail card hover */
.contact-detail-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.contact-detail-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.13);
}
.contact-detail-card i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-detail-card:hover i {
  transform: rotate(18deg) scale(1.2);
}

/* Join card glow */
.contact-join-card {
  animation: contactGlow 3.5s ease-in-out infinite;
}
@keyframes contactGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17,17,17,0.10), 0 12px 40px rgba(17,17,17,0.07); }
  50%       { box-shadow: 0 0 0 10px rgba(17,17,17,0), 0 12px 40px rgba(212,175,55,0.08); }
}
