.astrologer-container {
    background-color: #fce8d5;
    padding: 20px;
    border-radius: 8px;
    overflow:hidden;
}

.astrologer-header-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.astrologer-container h2 {
    color: #ff9800;
    font-size: 36px;
    font-family: 'Roboto', serif;
    margin-bottom: 0;
    margin-left: auto;
}

.astrologer-all-button {
    display: inline-block;
    background-color: #ff9800;
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Roboto', serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-left: 16%;
}

.astrologer-all-button:hover {
    background-color: #e68a00!important;
    color: #f2f2f5 !important;
}


.astrologer-item {
    position: relative;
    width: 95%;
    overflow: hidden;
    border-radius: 8px;
}

.astrologer-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.astrologer-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #ffffff;
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    border-radius: 0 0 8px 8px;
}

.astrologer-overlay h3, .astrologer-overlay p {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', serif;
}

.astrologer-overlay h3{
    font-size:20px;
}

.astrologer-overlay p{
    font-size:14px;
}

.astrologer-carousel .owl-nav,
.astrologer-carousel .owl-dots {
    display: none !important;
}

@media (max-width: 1005px) and (min-width: 768px) {
    .astrologer-container h2 {
        font-size: 30px;
        margin-left: 0;
    }
    .astrologer-all-button {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .astrologer-container h2 {
        font-size: 26px;
        text-align: center;
        margin-left: 0;
        margin-bottom: 10px;
    }
    .astrologer-header-container {
        flex-direction: column;
        align-items: center;
    }
    .astrologer-all-button {
        padding: 8px 16px;
        margin-left: 0;
    }
}
