/* ==========================================================================
   Project Assessment Section (جایگزین بخش GAS-R AQUILA)
   "راهکار مناسب پروژه شما چیست؟"
   ========================================================================== */

/* ==== FONTS ==== */
@font-face {
  font-family: Sahel;
  src: url(/static/Font/Sahel.ttf);
}

@font-face {
  font-family: Koodak;
  src: url(/static/Font/B_Koodak.ttf);
}

.project-assessment-section {
  width: 100%;
  background-color: #030a16;
  padding: 40px 20px;
  direction: rtl;
  font-family: 'Sahel', iranyekan, system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.assessment-main-container {
  max-width: 1320px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Main Card Wrapper */
.assessment-content-card {
  display: flex;
  flex-direction: row-reverse;
  /* Left side has image banner, right side has form */
  background-color: #030b18;
  border: 1px solid #0d233e;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* ==========================================================================
   1. Left Column: Industrial Image Banner
   ========================================================================== */
.assessment-banner-col {
  flex: 0 0 38%;
  max-width: 38%;
  position: relative;
  background: linear-gradient(to right, rgba(3, 11, 24, 0.15) 0%, rgba(3, 11, 24, 0.65) 65%, #030b18 100%),
    url('/static/image/assessment_bg.jpg') center left / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 40px 32px 35px 32px;
  box-sizing: border-box;
  border-right: 1px solid rgba(13, 35, 62, 0.6);
}

.assessment-banner-content {
  position: relative;
  z-index: 2;
  text-align: right;
  width: 100%;
}

.assessment-banner-title {
  font-family: 'Koodak', 'Sahel', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 18px 0;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.3px;
}

.assessment-banner-desc {
  font-size: 1.02rem;
  color: #e2e8f0;
  margin: 0 0 28px 0;
  line-height: 1.85;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.assessment-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6, 17, 33, 0.85);
  border: 1px solid #1e3a5f;
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Koodak', 'Sahel', sans-serif;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.assessment-contact-btn:hover {
  background-color: #0f2c52;
  border-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

/* ==========================================================================
   2. Right Column: Assessment Form
   ========================================================================== */
.assessment-form-col {
  flex: 1;
  padding: 35px 36px 30px 36px;
  background-color: #030b18;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.assessment-form {
  width: 100%;
}

/* Form Grid: 2 rows x 3 columns */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 18px;
  margin-bottom: 16px;
}

.assessment-field-group {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.assessment-field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 7px;
  font-family: 'Koodak', 'Sahel', sans-serif;
  letter-spacing: -0.2px;
}

.assessment-select-wrapper {
  position: relative;
  width: 100%;
}

.assessment-select {
  width: 100%;
  height: 38px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 12px 0 28px;
  font-size: 0.9rem;
  color: #64748b;
  font-family: 'Sahel', sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: right;
  direction: rtl;
}

.assessment-select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
  color: #0f172a;
}

.select-arrow-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

/* Textarea Group */
.assessment-textarea-group {
  margin-bottom: 18px;
  width: 100%;
}

.assessment-textarea {
  width: 100%;
  height: 68px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #0f172a;
  font-family: 'Sahel', sans-serif;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: right;
  direction: rtl;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.assessment-textarea::placeholder {
  color: #94a3b8;
}

.assessment-textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

/* Bottom Action Row */
.assessment-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.assessment-submit-btn {
  background-color: #f1ad0e;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 4px;
  color: #071120;
  font-family: 'Koodak', 'Sahel', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 10px 36px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.assessment-submit-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.assessment-submit-btn:active {
  transform: translateY(0);
}

.assessment-arrow-nav {
  color: #2a4365;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.assessment-arrow-nav:hover {
  color: #60a5fa;
  transform: translateX(-4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .assessment-content-card {
    flex-direction: column-reverse;
  }

  .assessment-banner-col {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 240px;
    border-right: none;
    border-top: 1px solid #0d233e;
    background: linear-gradient(to top, rgba(3, 11, 24, 0.3) 0%, rgba(3, 11, 24, 0.7) 100%),
      url('/static/image/assessment_bg.jpg') center center / cover no-repeat;
  }

  .assessment-form-col {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .assessment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }

  .assessment-banner-title {
    font-size: 1.5rem;
  }

  .assessment-submit-btn {
    width: 100%;
    text-align: center;
  }

  .assessment-action-row {
    flex-direction: column;
    gap: 12px;
  }

  .assessment-arrow-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .assessment-grid {
    grid-template-columns: 1fr;
  }
}