*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.form {
  width: 100%;
  background: #FFF6EE;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  overflow: hidden;
}
 
.contact-top-card {
  display: flex;
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(255, 107, 0, 0.15);
  border: 1px solid #FFE0C2;
  /* ANIMATION */
  animation: cardUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cardUp{
  from{ opacity:0; transform:translateY(40px) scale(0.97); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.contact-left {
  flex: 0.42;
  padding: 40px 36px;
  background: #fff;
  border-right: 1px solid #f0f0f0;
  animation: leftIn 0.8s 0.2s both;
}
.contact-right {
  flex: 0.58;
  padding: 40px 36px;
  background: #fafafb;
  animation: rightIn 0.8s 0.3s both;
}

@keyframes leftIn{
  from{ opacity:0; transform:translateX(-20px); }
  to{ opacity:1; transform:translateX(0); }
}
@keyframes rightIn{
  from{ opacity:0; transform:translateX(20px); }
  to{ opacity:1; transform:translateX(0); }
}

.contact-left h2,
.contact-right h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px 0;
}

.contact-left p.sub {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin: 0 0 28px 0;
  animation: fadeIn 0.6s 0.4s both;
}

.detail-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  /* STAGGER ANIMATION */
  opacity:0;
  animation: itemIn 0.6s both;
}
.detail-item:nth-child(3){ animation-delay:0.5s; }
.detail-item:nth-child(4){ animation-delay:0.6s; }
.detail-item:nth-child(5){ animation-delay:0.7s; }

@keyframes itemIn{
  from{ opacity:0; transform:translateY(15px); }
  to{ opacity:1; transform:translateY(0); }
}

.detail-icon {
  width: 38px;
  height: 38px;
  background: #FF6B00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition:0.3s;
  animation: iconPop 0.5s both;
}
.detail-item:hover .detail-icon{
  transform:scale(1.15) rotate(8deg);
  box-shadow:0 6px 18px rgba(255,107,0,0.4);
}
@keyframes iconPop{
  0%{ transform:scale(0); }
  70%{ transform:scale(1.2); }
  100%{ transform:scale(1); }
}

.detail-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
}
.detail-item p {
  font-size: 12.5px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.social {
  margin-top: 28px;
  animation: fadeIn 0.6s 0.9s both;
}
.social p { font-size: 13px; font-weight: 700; margin-bottom: 10px; }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 32px;
  height: 32px;
  background: #FF6B00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  transition: 0.3s;
  animation: socialIn 0.5s both;
}
.social-icons a:nth-child(1){ animation-delay:1s; }
.social-icons a:nth-child(2){ animation-delay:1.1s; }
.social-icons a:nth-child(3){ animation-delay:1.2s; }
.social-icons a:nth-child(4){ animation-delay:1.3s; }

@keyframes socialIn{
  from{ opacity:0; transform:translateY(10px) scale(0); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
.social-icons a:hover{
  background: #111;
  transform: scale(1.15) translateY(-3px);
  box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group.full { margin-bottom: 16px; }
.form-group label { font-size: 12px; color: #666; margin-bottom: 6px; }

.form-group input,
.form-group textarea {
  background: #fff;
  border: 1px solid #FFE0C2;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
  transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus{
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
  transform:translateY(-1px);
}
.form-group textarea { height: 100px; resize: none; }

/* FORM FIELDS STAGGER */
.contact-right .form-row{ animation: fadeIn 0.6s both; }
.contact-right .form-row:nth-child(1){ animation-delay:0.5s; }
.contact-right .form-row:nth-child(2){ animation-delay:0.6s; }
.contact-right .form-group.full{ animation: fadeIn 0.6s 0.7s both; }

.send-btn {
  width: 100%;
  background: #FF6B00;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.3s;
  position:relative;
  overflow:hidden;
  animation: fadeIn 0.6s 0.8s both;
}
/* SHIMMER ANIMATION */
.send-btn::after{
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition:0.5s;
}
.send-btn:hover::after{ left:100%; }
.send-btn:hover {
  background: #E55E00;
  box-shadow: 0 8px 20px rgba(255,107,0,0.3);
  transform:translateY(-2px);
}
.send-btn:active{ transform:translateY(0) scale(0.98); }

@keyframes fadeIn{
  from{ opacity:0; transform:translateY(10px); }
  to{ opacity:1; transform:translateY(0); }
}

/* MAP */
.map, .contact-map{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: 100vw;
  height: 500px;
  display: block;
  line-height: 0;
  margin-bottom: 0;
  animation: mapIn 1s both;
}
.contact-map{ background:#fff; }
@keyframes mapIn{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}
iframe {
  width: 100%; height: 100%; display: block; border: 0; margin: 0; vertical-align: top;
}

@media(max-width:900px) {
  .contact-top-card { flex-direction: column; }
  .contact-left { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .form-row { flex-direction: column; }
  .map, .contact-map, iframe{ height: 350px; }
}