/* Our Mentor Section Start */
/* Our Mentor Section Start */
.our_mentor {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    padding: 70px 0;
}

.allMentormain {
    text-align: center;
}

.contentWrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.leftSide {
    width: 35%;
    padding: 20px;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    transition: transform 0.3s ease;
    margin-top: 75px;
}

.leftSide:hover {
    transform: translateY(-5px);
}

.leftSide h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 15px;
    position: relative;
}

.leftSide h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #F3BD00;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.leftSide p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: start;
}

.courseOffers {
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.courseOffers h3 {
    font-size: 22px;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 15px;
}

.courseOffers ul {
    list-style: none;
    padding: 0;
}

.courseOffers li {
    background: #e3f2fd;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    transition: background 0.3s ease;
}

.courseOffers li:hover {
    background: #d1e7ff;
}

.courseOffers p {
    text-align: center;
    color: #e53e3e;
    font-weight: 600;
    margin-top: 15px;
}

.rightSideSearchbars {
    width: 65%;
}

.rightSideSearchbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 25px;
}

.rightSideSearchbar input {
    padding: 15px 20px;
    width: 70%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.rightSideSearchbar input:focus {
    border-color: #F3BD00;
}

.rightSideSearchbar button {
    padding: 15px 25px;
    border: none;
    background-color: #F3BD00;
    color: white;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.rightSideSearchbar button:hover {
    background-color: #F3BD00;
}

.rightSide {
    max-height: 755px;
    overflow-y: auto;
    padding: 2px 10px;
}

.rightSide::-webkit-scrollbar {
    width: 6px;
}

.rightSide::-webkit-scrollbar-thumb {
    background: #F3BD00;
    border-radius: 10px;
}

.cardsRow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-content: start;
}

.card {
    background-color: #ffffff;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.cardImage {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #F3BD00;
}

.cardcontent {
    padding: 15px;
    text-align: left;

}

.card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.cardcontent span {
    font-weight: 400;
    font-size: 14px;
    color: #4a5568;

}

.card p {
    font-size: 13px;
    margin: 0;

}

.stars {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.stars p i {
    color: #f6ad55;
    font-size: 14px;
}

.readMore {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #0C2B4B;
    cursor: pointer;
    transition: color 0.3s ease;
}

.readMore:hover {
    color: #F3BD00;
    text-decoration: none;
}

@media (max-width: 992px) {
    .contentWrapper {
        flex-direction: column;
    }

    .leftSide,
    .rightSideSearchbars {
        width: 100%;
    }

    .rightSideSearchbar input {
        width: 100%;
    }

    .cardsRow {
        grid-template-columns: 1fr;
        /* Stack cards on smaller screens */
    }
}

@media (max-width: 768px) {
    .cardsRow {
        grid-template-columns: repeat(2, 1fr);
    }

    .cardImage {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .leftSide h2 {
        font-size: 24px;
    }

    .courseOffers h3 {
        font-size: 20px;
    }

    .card {
        width: 100%;
    }

    .cardsRow {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardImage {
        height: 230px;
    }

    .our_mentor {
        padding-top: 0;
    }

    .Serahc_content {
        display: none;
    }
}

/* our mentor section end */