*{
    margin: 0;
    box-sizing: ""border-box""; 
}
.diploma-page {
  margin-bottom: 100px;
  top: 0;
  display: flex;
  justify-content: center;
  background: none;
  height: 450px;
}

  .first-section{
    width: 100%;

  }
   .first-outer{
  max-width: 1200px;
    margin: 1rem auto;
    padding: 2rem 0px;


   }
  .heading-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
    background-color: #f7f9fc;
    margin-bottom: 20px;

  }
  
  .heading-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    z-index: 1;
  }
  
  .unique-courses {
    background-color: #eef2ff;
    color: #0032e7;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
  }
  
  .heading-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2342;
    margin: 0;
  }
  
  .highlight {
    color: #0032e7;
  }
  
  .tab-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .tab {
    background: none;
    border: none;
    font-weight: 600;
    color: #333e50;
    cursor: pointer;
    position: relative;
    padding: 4px 8px;
  }
  
  .tab.active {
    color: #0032e7;
  }
  
  .tab-badge {
    background-color: #0032e7;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: top;
  }
  
 
  
  .course-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
 

  
  .course-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
      height: 400px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    position: relative;
    overflow: hidden;
  transform: translate(-30px, 30px) scale(0.95) rotateZ(-2deg);
  }
  .course-card.animate {
    animation: slideInEnhanced 0.8s ease forwards;
  }
  @keyframes slideInEnhanced {
    0% {
      opacity: 0;
      transform: translate(-30px, 30px) scale(0.95) rotateZ(-2deg);
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    60% {
      opacity: 1;
      transform: translate(5px, -5px) scale(1.03) rotateZ(1deg);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    100% {
      opacity: 1;
      transform: translate(0, 0) scale(1) rotateZ(0deg);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
  }
  .course-card div[style*="position: relative"]::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15); /* Light transparent film */
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .course-card div[style*="position: relative"]:hover::after {
    animation: filmSweep 0.6s ease forwards;
    opacity: 1;
  }
  
  @keyframes filmSweep {
    0% {
      transform: rotate(45deg) translateX(-100%);
    }
    100% {
      transform: rotate(45deg) translateX(100%);
    }
  }
  .course-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .badge {
    position: absolute;
    background: #bd0a78;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 10px;
  }

  .badge.new {
    background: #4b3deb;
  }

  .badge.placed {
    background: #2dc653;
  }

  .course-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
     flex-grow: 1;
  }

  .course-info h3 {
    margin: 10px 0;
    font-size: 18px;
  }

  .course-meta {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
  }

  .rating {
    color: #ffb703;
  }

  .placement {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
  }

  .see-more {
    margin-top: auto;
    text-align: right;
    padding: 10px 15px;
    font-weight: bold;
    /* color: #007bff; */
    cursor: pointer;
    text-align: center;
    background:#0032e7;
    color: #fff;
  }
  
  .diploma-home {
    margin-bottom: 0px;
    top: 0;
    display: flex;
    justify-content: center;
    background: none;
    height: 300px;
  }
  .diploma-home {
    /* position: absolute;
    top: 0; */
    padding: 270px 0 130px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  @media (max-width: 768px) {
    .course-container {
        flex-direction: column;
        align-items: center;
      }
    .heading-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
    .heading-title-tabs {
        align-items: flex-start;
      }
  
    .tab-container {
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 1rem;
    }
    
  .course-card {
    width: 100%;
    max-width: 350px;
  }
  }
  /* @media (max-width:468px) {
    .tab-container{
      justify-content: center;
    }
    
  } */