@import url("home.css");

/* CONTACT PAGE COLORFUL UPGRADE */

.contact-hero {
  max-width: 1120px;
  margin: 2.5rem auto 1.4rem;
  padding: 0 1.1rem;
  text-align: center;
  animation: fadeUp 0.7s ease-out both;
}

.contact-hero h1 {
  background: linear-gradient(90deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.contact-hero p {
  color: var(--text-muted);
}

/* GRID LAYOUT: INFO LEFT | FORM RIGHT */
.contact-section {
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 0 1.1rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 2rem;
}

/* COMMON CARD STYLE (inherits from home.css shadow etc.) */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 1.9rem;
  box-shadow: var(--shadow);
}

/* LEFT CARD – CONTACT INFO */
.contact-info {
  animation: fadeUp 0.7s ease-out both;
}

.contact-info h2 {
  margin-top: 0;
  border-left: 5px solid var(--primary);
  padding-left: 0.6rem;
}

.contact-info ul {
  padding-left: 0;
  list-style: none;
}

.contact-info ul li {
  margin-bottom: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #e7f9ee;
  border-left: 4px solid var(--primary);
}

.contact-info h3 {
  margin-top: 1.3rem;
}

/* RIGHT CARD – FORM */
.contact-form {
  box-shadow: var(--shadow-strong);
  animation: fadeInScale 0.7s ease-out both;
  animation-delay: 0.15s;
}

/* FIX: LABEL ON TOP, INPUT FULL WIDTH */
.form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 7px;
  border: 1px solid #d2d6dc;
  font: inherit;
  outline: none;
  box-sizing: border-box;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--blue);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10, 125, 59, 0.15);
}

.btn.full-width {
  width: 100%;
}

.form-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* MOBILE STACKING */
@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}
