/* Applied Health Sciences page-specific styles */

/* ---------- Why Choose: 3 cards per view, shorter section (desktop/tablet only) ---------- */
@media (min-width: 992px) {
    .edge-slider.mt-180 {
        margin-top: 80px;
    }
    .edge-slider .flickity-prev-next-button.next,
    .edge-slider .flickity-prev-next-button.previous {
        top: -40px;
    }
    .edge-slider .edge-item {
        width: 33.3333%;
        height: 210px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .edge-slider .edge-item {
        width: 50%;
        height: 210px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 20px;
    }
}

/* ---------- Placement cards styling ---------- */
.topStudent-item__card {
    background-color: var(--bgcolor-blue);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.topStudent__photo {
    width: 260px;
    max-width: 50%;
    bottom: 0;
    right: 10px;
}

.topStudent__photo img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-left: auto;
}

.ip-logo-head {
    width: auto;
}

.ip-logo-slider .fg-item {
    margin-bottom: 6px;
}

.ip-logo-slider .fg-item img {
    padding: 4px 6px;
    object-fit: contain;
}

/* ---------- Testimonial card background styling ---------- */
.tbi-item {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.tbi-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.85) 75%);
    pointer-events: none;
}

.tbi-item .ceo-details,
.tbi-item .lower-tbi {
    position: relative;
    z-index: 2;
}

.tbi-item .cleft span {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* ---------- Research Domains in Applied Health Sciences ---------- */
.research-domains {
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.research-domains .mainHeading {
    margin-bottom: 25px;
}

.research-domains .domain-item {
    display: flex;
    align-items: center;
    background: #fff;
    color: #252525;
    padding: 16px 20px;
    border-radius: 10px;
    height: 100%;
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
}

.research-domains .domain-item span {
    color: #7295c5;
    font-size: 15px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.research-domains .domain-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
