.placement-cell-banner {
  padding: 60px 20px;
  background: #f5f7ff;
}

.placement-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* ===== Left PDF Section ===== */
.placement-pdf-list {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.placement-pdf-list h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1b2a4e;
}

.placement-pdf-list ul {
  list-style: none;
  padding-left: 0;
}

.placement-pdf-list ul li {
  margin-bottom: 12px;
}

.placement-pdf-list ul li a {
  color: #1b2a4e;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.placement-pdf-list ul li a:hover {
  color: #e32845;
}

/* ===== Right Student Section ===== */
.placement-student-cards {
  flex: 3 1 700px;
}

.placement-student-cards h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #1b2a4e;
}

.student-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.student-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.student-card img {
  width: 100%;
  height: 200px;
  /* Fixed visual height for consistency */
  object-fit: contain;
  /* Ensures full image is visible */
  object-position: center;
  /* Centers the image properly */
  border-radius: 10px;
  background: #f8f8f8;
  /* Light gray background behind transparent/empty areas */
  margin-bottom: 10px;
  padding: 5px;
  /* Adds spacing so image doesn’t touch card edges */
  transition: transform 0.3s ease;
}



.student-card h4 {
  font-size: 18px;
  color: #1b2a4e;
  margin-bottom: 5px;
}

.student-card p {
  font-size: 14px;
  color: #555;
  margin: 3px 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .placement-container {
    flex-direction: column;
  }

  .placement-pdf-list {
    width: 100%;
  }

  .placement-student-cards {
    width: 100%;
  }
}


/* =========================================
   Placement Section - GVMITM
   ========================================= */
.placement-section {
  padding: 60px 10%;
  background: #f9f9f9;
  box-sizing: border-box;
}

/* ===== CONTENT (with wrapped image) ===== */
.placement-content {
  position: relative;
  color: #333;
  text-align: justify;
  line-height: 1.8;
  font-size: 16px;
}

/* ===== FLOATING IMAGE ===== */
.placement-float-img {
  float: left;
  /* ✅ enables text wrapping */
  width: 45%;
  max-width: 500px;
  margin: 0 25px 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* ===== HEADINGS ===== */
.placement-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 15px;
}

.placement-content h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #e32845;
  font-weight: 600;
}

/* ===== RECRUITER LOGOS ===== */
.recruiter-logos {
  clear: both;
  /* ✅ ensures marquee starts below text */
  margin-top: 25px;
  width: 100%;
  /* ✅ full width */
}

.recruiter-logos marquee {
  width: 100%;
}

.recruiter-logos img {
  margin: 0 25px;
  vertical-align: middle;
  filter: grayscale(40%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.recruiter-logos img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
  .placement-float-img {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 100%;
  }

  .placement-content {
    font-size: 15px;
  }

  .placement-content h2 {
    font-size: 24px;
  }

  .placement-content h3 {
    font-size: 20px;
  }

  .recruiter-logos img {
    width: 90px;
  }
}

@media (max-width: 576px) {
  .placement-section {
    padding: 40px 6%;
  }

  .placement-content {
    font-size: 14px;
  }

  .placement-content h2 {
    font-size: 22px;
  }

  .placement-content h3 {
    font-size: 18px;
  }

  .recruiter-logos img {
    width: 80px;
  }
}