/* --- Standards Section Wrapper --- */
.standards-section {
  width: 100%;
  background-color: #f7f7f7; /* Background color behind this section */
  padding: 80px 0 0; /* Removed bottom padding to flow into the banner below */
  box-sizing: border-box;
}

.standards-container {
  max-width: 1374px; /* Matches layout alignment bounds */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* --- Section Typography --- */
.standards-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px; /* Reduced spacing */
  text-align: center;
  line-height: 1.25;
}

.standards-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #64748B;
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

/* --- Action Button --- */
.standards-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1.5px solid #0052ED; /* USAII Accent Blue border */
  background: none;
  color: #0052ED; /* Blue text */
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: 60px;
  box-sizing: border-box;
}

.standards-action-btn:hover {
  background-color: #0052ED;
  color: #FFFFFF;
}

/* --- Standards Grid --- */
standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1334px;
  box-sizing: border-box;
}

/* --- Standards Card Component wrapper --- */
standards-card {
  display: block;
  height: 100%;
  box-sizing: border-box;
}

.standards-card-wrapper {
  background-color: #FFFFFF; /* White containers */
  border-radius: 4px;
  padding: 36px 28px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.015);
  border: 1px solid #E2E8F0;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.standards-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  border-color: #CBD5E1;
}

.standards-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px; /* Reduced spacing */
  line-height: 1.35;
}

.standards-card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .standards-section {
    padding: 60px 0 0; /* Removed bottom padding */
  }
  
  .standards-title {
    font-size: 28px;
  }
  
  standards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .standards-card-wrapper {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .standards-section {
    padding: 50px 0 0; /* Removed bottom padding */
  }
  
  .standards-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .standards-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .standards-action-btn {
    padding: 12px 24px;
    font-size: 14px;
    margin-bottom: 40px;
  }
  
  standards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }
  
  standards-card {
    width: 100%;
    max-width: 380px;
  }
  
  .standards-card-wrapper {
    padding: 24px 20px;
  }
}
