/* =========================
   PROJECTS PAGE ONLY
========================= */

.projects-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
  }
  
  .section-title {
    font-size: 2.4rem;
    margin: 10px 0 30px;
    color: #222;
  }
  
  /* =========================
     TOP BANNER (Background + Card)
  ========================= */
  .top_P {
    position: relative;
    height: 55vh;
    background-image: url("projects_bg.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }
  
  /* White card */
  .top_P-card {
    background-color: rgba(255, 255, 255, 1); /* no transparency */
    padding: 50px 70px;
    border-radius: 12px;
    text-align: center;
    max-width: 950px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }
  
  .top_P-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 14px;
  }
  
  .top_P-subtext {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 26px;
  }
  
  /* Button */
  .btn-primary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 10px;
    background-color: #7a003c;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
  }
  
  .btn-primary:hover {
    filter: brightness(0.9);
  }
  
  /* =========================
     SUBMITTED WORK ROWS
  ========================= */
  
  /* Each row: video card + text card side-by-side */
  .project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-bottom: 30px;
  
    /* KEY: forces equal heights for both cards in the row */
    align-items: stretch;
  }
  
  /* The cards */
  .project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  }
  
  /* Video card */
  .project-media {
    /* This ensures the card has a consistent height */
    min-height: 360px;
  }
  
  /* Make video fill the card and match height */
  .project-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* crops slightly if needed to fill */
    background: #000;
  }
  
  /* Text card */
  .project-info {
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers text nicely in equal-height layout */
    gap: 12px;
  }
  
  .project-info h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #222;
  }
  
  .project-info p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
  }
  
  .meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #333;
    font-size: 1rem;
  }
  
  /* anchor spacing */
  .submit-anchor {
    height: 1px;
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  @media (max-width: 900px) {
    .top_P-card {
      padding: 34px 24px;
    }
  
    .project-row {
      grid-template-columns: 1fr;
    }
  
    .project-media {
      min-height: 240px;
    }
  }
  