/* Contact Specific Layout */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 992px) { .contact-layout { grid-template-columns: 1fr; } }

.content-card h2 { font-size: 2rem; color: #1e293b; margin-bottom: 8px; font-weight: 700; }
.content-card > p.sub { color: #64748b; margin-bottom: 30px; font-size: 1.05rem; line-height: 1.6; }

/* Premium Form Styles */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }


.field {
  width: 100%; padding: 14px 16px; border-radius: 8px; font-family: 'Outfit', sans-serif; font-size: 1rem;
  border: 1px solid #e2e8f0; background: #f8fafc; color: #0f172a; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.field::placeholder { color: #94a3b8; transition: opacity 0.3s ease; }
.field:focus { 
  outline: none; 
  border-color: #95C11F; 
  background: #ffffff; 
  box-shadow: 0 4px 12px rgba(149,193,31,0.15), 0 0 0 2px rgba(149,193,31,0.2); 
  transform: translateY(-2px);
}
.field:focus::placeholder { opacity: 0.5; }
.form-group:focus-within label { color: #95C11F; }

/* Form Validation Feedback */
.field.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.field.is-invalid:focus {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15), 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.field.is-valid {
  border-color: #10b981;
  background: #f0fdf4;
}
.field.is-valid:focus {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15), 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.textarea { min-height: 150px; resize: vertical; margin-bottom: 30px; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 48px; }

/* Contact Info Block */
.contact-info-block { margin-bottom: 30px; }
.contact-info-block p { margin: 12px 0; color: #334155; display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.contact-info-block a { color: #1e293b; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.contact-info-block a:hover { color: #95C11F; }

.map-wrapper { border-radius: 12px; overflow: hidden; border: 1px solid rgba(11,18,32,0.06); margin-top: 24px; background: #f8fafc; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

.tender-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 30px; border-radius: 12px; border: 1px solid rgba(11,18,32,0.04); margin-top: 30px;
}
.tender-box h3 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.tender-box p { color: #475569; font-size: 0.95rem; margin: 0 0 20px; line-height: 1.6; }

/* Success Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  width: 90%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.hidden .modal-content {
  transform: translateY(20px) scale(0.95);
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(149, 193, 31, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
}

.modal-check-icon {
  width: 40px;
  height: 40px;
  color: #95C11F;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

.modal-overlay:not(.hidden) .modal-check-icon {
  animation: drawCheck 0.6s 0.2s ease forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.modal-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 32px;
}

#close-modal-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}
