/* ================================================
   CONTACT PAGE CSS
   ================================================ */

.contact-page {
  background: #f7f9fb;
  min-height: 100vh;
  padding-bottom: 96px;
}

/* ---- Hero header ---- */
.contact-hero {
  background: linear-gradient(135deg, #0a1628 0%, rgba(46,139,87,0.85) 100%);
  padding: 128px 24px 96px;
  text-align: center;
  color: #ffffff;
}
.contact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.contact-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Body ---- */
.contact-body {
  max-width: 1280px;
  margin: -48px auto 0;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px)  { .contact-body { padding: 0 24px; } }
@media (min-width: 1024px) { .contact-body { padding: 0 32px; } }

/* ---- Grid: form (2/3) + info (1/3) ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 1fr; }
}

/* ================================================
   FORM CARD
   ================================================ */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
@media (min-width: 768px) {
  .contact-form-card { padding: 48px; }
}

/* ---- Form rows ---- */
.cf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .cf-row { grid-template-columns: 1fr 1fr; }
}

/* ---- Form group ---- */
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.cf-row .cf-group { margin-bottom: 0; }

.cf-group label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
}
.cf-group label span { color: #e24b4a; margin-left: 2px; }

.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  padding: 12px 16px;
  height: 48px;
  background: #f7f9fb;
  border: 1.5px solid #e5e9ef;
  border-radius: 10px;
  font-size: 14px;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.cf-group textarea {
  height: auto;
  min-height: 150px;
  resize: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: #2DA06D;
  background: #ffffff;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: #9ca3af; }

.cf-error {
  font-size: 12px;
  color: #e24b4a;
  font-family: 'Inter', sans-serif;
}

/* ---- Submit button ---- */
.cf-submit {
  width: 100%;
  height: 56px;
  background: #2DA06D;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 24px rgba(45,160,109,0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.cf-submit:hover {
  background: #236B43;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45,160,109,0.35);
}
.cf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ---- Success message ---- */
.contact-success {
  text-align: center;
  padding: 48px 24px;
}
.contact-success__icon {
  font-size: 56px;
  color: #2DA06D;
  margin-bottom: 20px;
}
.contact-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 10px;
}
.contact-success p {
  font-size: 1rem;
  color: #6b7280;
}

/* ---- Error box ---- */
.contact-error {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.contact-error p {
  font-size: 13px;
  color: #e24b4a;
  margin: 0;
}

/* ================================================
   INFO CARD
   ================================================ */
.contact-info-card {
  background: linear-gradient(135deg, #0a1628 0%, rgba(46,139,87,0.85) 100%);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2DA06D;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-item i {
  font-size: 18px;
  color: #2DA06D;
  flex-shrink: 0;
  margin-top: 2px;
}
.ci-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.ci-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}
.ci-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}
.ci-item a:hover { color: #2DA06D; }

/* ---- Animations ---- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-slide-up { animation: slideUp 0.6s ease both; }
.animate-fade-in  { animation: fadeIn 0.6s ease 0.15s both; }
