.academy-course-wrapper{
    background:#f8f9ff;
    padding:50px 15px;
    position:relative;
    z-index:2;
    overflow:hidden;
}

.academy-course-title{
    text-align:center;
    font-size:44px;
    font-weight:700;
    margin-bottom:40px;
}

.academy-course-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:50px;
    max-width:1200px;
    margin:auto;
}
.academy-course-card{
    height:auto; /* let content decide */
    min-height:280px; /* minimum height */
}

.academy-course-card{
    background:white;
    border-radius:16px;
    overflow:hidden;
    transition:0.3s ease;
    box-shadow:0 4px 15px rgba(0,0,0,0.07);
    display:flex;
    flex-direction:column;
    height:50vh;
}

.academy-course-card:hover{
    transform:translateY(-6px);
}

.academy-course-img{
    width:100%;
    height:140px;
    object-fit:cover;
}

.academy-course-body{
    padding:15px;
    text-align:center;
    flex-grow:1;
}
.academy-view-btn{
    display:inline-block;
    margin-top:10px;
    padding:8px 16px;
    background:rgb(0, 0, 64);
    color:white;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s ease;
}

.academy-view-btn:hover{
    background:#0b5ed7;
}
.academy-course-body h5{
    font-size:17px;
    font-weight:700;
    margin-bottom:8px;
}

.academy-course-body p{
    font-size:13px;
    color:#555;
    line-height:1.5;
    min-height:40px;
    margin-bottom:8px;
}
.academy-course-body p{
    max-height:40px;
    overflow:hidden;
    text-overflow:ellipsis;
}

.academy-course-body h6{
    font-size:16px;
    color:#0d6efd;
    font-weight:700;
}

.academy-pagination{
    text-align:center;
    margin-top:40px;
}

.academy-page-btn{
    display:inline-block;
    padding:7px 14px;
    margin:3px;
    border-radius:6px;
    border:1px solid #ddd;
    text-decoration:none;
    color:#333;
    transition:0.3s;
    font-size:14px;
}

.academy-page-btn:hover,
.academy-page-btn.active{
    background:rgb(0, 0, 64);
    color:white;
}

@media(max-width:992px){
    .academy-course-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .academy-course-title{
        font-size:32px;
		
    }
}

@media(max-width:576px){
    .academy-course-grid{
        grid-template-columns:1fr;
    }

    .academy-course-img{
        height:130px;
    }

    .academy-course-title{
        font-size:24px;
    }
}

@media(max-width:768px){

    .about-title{
        font-size: 28px;
        text-align: center;
    }

    .about-subtitle{
        font-size: 18px;
        text-align: center;
    }

    .about-description{
        font-size: 15px;
        text-align: center;
    }

    .vision-mission{
        text-align: center;
    }
}

@media(max-width:480px){

    .about-title{
        font-size: 24px;
    }

    .about-subtitle{
        font-size: 16px;
    }

    .about-description{
        font-size: 14px;
    }
}
.placed-card{
  background:white;
  border-radius:15px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.1);
  transition:0.3s;
  position:relative;
}

.placed-card:hover{
  transform:translateY(-6px);
}

.placed-top{
	background: linear-gradient(45deg,#ffb347,#ff7e00);
	   padding: 30px 0;
	   position: relative;
}

.placed-img{
	width: 90px;
	    height: 90px;
	    border-radius: 50%;
	    border: 5px solid white;
	    object-fit: cover;
	    background: white;
}

/* CARD */
.placed-card {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
}

.placed-top {
    background: linear-gradient(45deg, #ffb347, #ff7e00);
    height: 80px;        
    position: relative;
}

/* STUDENT IMAGE */
.placed-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    position: absolute;  
    top: 40px;          
    left: 50%;
    transform: translateX(-50%);
    background: white;
    z-index: 2;
}

/* CARD BODY */
.placed-body {
    padding: 60px 20px 20px;  
}

.placed-body h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

/* ROLE */
.role {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}

/* PACKAGE */
.package {
    font-weight: 700;
    color: #ff7a00;
    margin-bottom: 6px;
}

/* COMPANY */
.company {
    font-size: 14px;
    color: #555;
}

/* HOVER EFFECT */
.placed-card:hover {
    transform: translateY(-5px);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px) {
    .placed-top {
        height: 60px;
    }

    .placed-img {
        width: 70px;
        height: 70px;
        top: 30px;
    }

    .placed-body {
        padding-top: 50px;
    }
}
