/* CONTACT page styles - form, map, chatbot box */
.contact-wrap {
  padding: 70px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch; /* equal height columns */
}

/* Form Card */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.45);
  display: flex;
  flex-direction: column;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-card input,
.form-card textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: .95rem;
  transition: border .2s, background .2s;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(255,255,255,0.04);
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-footer .alt-contact {
  color: var(--muted);
  font-size: .9rem;
}

.form-footer a {
  color: var(--accent);
}

/* Map Card */
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(2,6,23,0.45);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 340px;
}

/* Chatbot floating box */
.chatbox {
  position: fixed;
  right: 20px;
  bottom: 86px;
  width: 320px;
  max-height: 420px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1500;
}

.chatbox .head {
  background: linear-gradient(90deg,var(--accent), #00b4ff);
  color: #021026;
  padding: 12px;
  font-weight: 600;
  text-align: center;
}

.chatbox .msgs {
  flex: 1;
  padding: 12px;
  font-size: .9rem;
  overflow-y: auto;
}

.chatbox .input-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.chatbox .input-row input {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .9rem;
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.chatbox .input-row input:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
}

/* Floating Chatbot Button */
#chatbot-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #00b4ff);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,123,255,0.3);
  z-index: 1200;
  transition: transform .25s ease, box-shadow .25s ease;
}

#chatbot-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 60px rgba(0,123,255,0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #chatbot-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  #chatbot-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
    right: 14px;
    bottom: 14px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-card {
    min-height: 280px;
  }
}
