.page_content {
  padding-top: 30px;
  padding-bottom: 30px;
  background: linear-gradient(#fff 0%, #4c4c4c0d 100%);
}

.home_bg {
  height: 335px;
}
.ai_descp .breadcrumbs {
  position: relative;
  top: 50px;
  z-index: 1;
}
.ai_descp .breadcrumbs a {
  color: #498847;
}
.ai_descp .hero-text {
  position: relative;
  top: 30px;
}

.page-title {
  margin-bottom: 0px;
}

.page-title h2 {
  color: #4c4c4c;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
  padding-bottom: 0;
  position: relative;
  text-align: left;
}

.page-title p {
  margin: 0; 
  color: #4c4c4c;
  font-weight: normal;
  text-align: left;
  font-size: 13px;
  line-height: 22px;
}
.page-title p.subtitle {
    display: inline-block;
    background: #ecf3ec;
    color: #4c4c4c;
    padding: 10px 10px;
    border-radius: 5px;
    align-items: baseline;
    gap: 5px;
} 
.page-title p.subtitle i {
    color: #498847;
    font-size: 16px;
    position: relative;
    top: 1px;
}
.page-title p.subtitle span {
  color: #498847;
  font-weight: 600;
}
.page-title p.subtitle a{
  color: #498847;
}

/*   .page-title h2::after {
            content: '';
            position: absolute;
            margin: 0 auto;
            left: 0;
            right: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: #498847;
        }*/

/* Input section */

.input-card {
  padding: 0px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.input-card label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  line-height: 22px;
}

textarea {
  width: 100%;
  min-height: 250px;
  padding: 0px 0px;
  box-sizing: border-box;
  border: 0px solid #ccc;
  border-radius: 5px;
  font-size: 13px;
  line-height: 22px;
  color: #4c4c4c;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: #498847;
}

.writing_area {
  padding: 15px;
}

.button-container {
  margin-top: 0px;
  padding: 10px 10px;
  background: rgba(73, 136, 71, 0.05);
}

button {
  background: #498847;
  border: 1px solid #498847;
  padding: 10px 25px;
  border-radius: 5px;
  color: #fff;
  transition: 0.3s;
  font-weight: 600;
  font-size: 13px;
  margin-right: 0.3rem;
}

button:hover {
  background: #246e28;
}

/* Error */

.error {
  margin-top: 10px;
  padding: 10px;
  background: #fff0f0;
  color: #dc3545;
  border: 1px solid #ffcccc;
  border-radius: 5px;
}

/* Results */

.result-container {
  padding-top: 30px;
}

.section-title {
  color: #4c4c4c;
  padding-bottom: 0;
  position: relative;
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 0.7rem;
  line-height: 22px;
}

/* Summary */

.summary-card {
  border: 0;
  border-radius: 5px;
  padding: 0;
  margin-bottom: 30px;
  box-shadow: none;
}

.summary-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.summary-text {
  font-size: 14px;
  line-height: 22px;
  color: #4c4c4c;
}

/* Contract fields */

.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field-card {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
}

.field-name {
  font-size: 15px;
  margin-top: 0px;
  margin-bottom: 5px;
  font-weight: 700;
}

.field-value {
  font-size: 14px;
  line-height: 22px;
  color: #4c4c4c;
}

/* Full width field */

.field-card.full-width {
  grid-column: span 2;
}

/*Tenders and Awards section*/

.nsa-links-wrapper {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 5px; 
  padding: 10px 10px;
  margin-top: 10px;
  display: flex;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.nsa-links-section {
    min-width: 220px;
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.nsa-links-divider {
  width: 1px;
  background: #e3e6e0;
  align-self: stretch;
}

.nsa-links-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #498847;
    margin-bottom: 10px;
}

.nsa-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef4ec;
  color: #498847;
  flex-shrink: 0;
  font-size: 16px;
}

.nsa-heading-icon--award {
  background: #eef4ec;
  color: #498847;
}

.nsa-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nsa-links-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 10px;
}

.nsa-links-list li:last-child {
  margin-bottom: 0;
}

.nsa-links-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  background-color: #498847;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.nsa-links-list li span{
  font-weight: 600;
}
.nsa-link {
    display: block;
    align-items: baseline;
    gap: 8px;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    padding: 1px 5px;
    border-radius: 5px;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.nsa-link:hover {
    background: #ecf3ec87;
    color: #498847;
}

.nsa-link--award:hover {
    background: #ecf3ec87;
    color: #498847;
}

.nsa-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /*background: #eef4ec;*/
  color: #498847;
  flex-shrink: 0;
}

.nsa-link-icon--award {
  /*background: #eef4ec;*/
  color: #498847;
}

/* /Tenders and Awards section*/

@media (max-width: 600px) {
  .nsa-links-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .nsa-links-divider {
    display: none;
  }
}

@media (max-width: 768px) {
 
  .fields-grid {
    grid-template-columns: 1fr;
  }

  .field-card.full-width {
    grid-column: span 1;
  }
}
@media only screen and (max-width: 960px) {
    .home_bg {
      height: auto;
      padding-bottom: 50px;
    }
    .nsa-links-section { 
      display: block; 
  }
}