/* asme.css - Updated to match FEA banner style */

.page-wrapper {
  max-width: 800px;   /* or 1100px */
  width: 100%;
  margin: 0 auto;
  padding: 1rem;  
  box-sizing: border-box;
}


.block-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.fea-box {
  background: #ffffff;
  border: 1px solid #d5e0f2;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.fea-box:hover {
  transform: translateY(-5px);
}

.fea-box h2 {
  color: #000000;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.fea-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.download-btn {
  display: inline-block;
  background-color: #00c0ff;         /* bright blue */
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
  margin: 1rem 0;
} 

.download-btn:hover {
  background-color: #0099cc;         /* darker on hover */
}

.project-flex {
  display: flex;
  flex-wrap: wrap;  /* ✅ Safe default */
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}


.project-flex img {
  max-width: 250px;
  height: auto;
  border-radius: 8px;
}

.project-text {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .page-wrapper {
    max-width: 100%;
    padding: 1rem;
    overflow-x: hidden;
  }

  .project-flex {
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-wrap: wrap; /* ✅ fix added here */
    overflow-x: hidden;
  }

  .project-flex img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .project-text {
    width: 100%;
    font-size: 0.95rem;
  }

  .fea-box {
    padding: 1rem;
  }

  .about-centered h2 {
    font-size: 1.5rem;
  }

  .about-centered p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .download-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    width: 90%;
    text-align: center;
  }

  footer .contact {
    padding: 1rem;
    font-size: 0.9rem;
  }

  footer p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .fea-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  overflow-x: hidden;
}

  .project-flex > div[style*="width: 360px"] {
  width: 100% !important;
  text-align: center;
  box-sizing: border-box;
}

}

