/* ============================================
   INSTRUCTORS CSS - Knowledge Wave India
   Colors: #7AC74F #FDFFFC #F7B32B #FF2E00 #140F2D
   ============================================ */

.instructors-section {
    padding: 100px 0;
    background: #FDFFFC;
}

.instructor-wrapper {
    position: relative;
    padding: 0 50px;
}

.instructor-slider {
    overflow: hidden;
}

.instructor-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
}

.instructor-card {
    min-width: 280px;
    height: 350px;
    flex-shrink: 0;
    text-align: center;
    background: #FDFFFC;
    border: 1px solid rgba(122, 199, 79, 0.15);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(122, 199, 79, 0.2);
}

.instructor-card img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover img {
    transform: scale(0.85);
    border-radius: 12px;
}

.instructor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 15, 45, 0.95), rgba(20, 15, 45, 0.7), transparent);
    padding: 80px 20px 20px;
    border-radius: 0 0 15px 15px;
    transition: all 0.3s ease;
}

.instructor-card:hover .instructor-info {
    padding: 70px 20px 20px;
}

.instructor-card h4 {
    font-size: 19px;
    color: #FDFFFC;
    margin: 0 0 5px;
    font-weight: 700;
}

.instructor-card span {
    color: #F7B32B;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .instructors-section { padding: 50px 0; }
    .instructor-wrapper { padding: 0 35px; }
    .instructor-card { min-width: 220px; height: 280px; }
    .instructor-info { padding: 60px 15px 15px; }
    .instructor-card:hover .instructor-info { padding: 50px 15px 15px; }
    .instructor-card h4 { font-size: 17px; }
}

@media (max-width: 575.98px) {
    .instructor-wrapper { padding: 0 30px; }
    .instructor-card { min-width: 190px; height: 250px; }
    .instructor-info { padding: 50px 12px 12px; }
    .instructor-card:hover .instructor-info { padding: 40px 12px 12px; }
    .instructor-card h4 { font-size: 16px; }
}