/* alexandria-regular - arabic */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alexandria';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/alexandria-v3-arabic-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alexandria-600 - arabic */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alexandria';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/alexandria-v3-arabic-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alexandria-700 - arabic */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alexandria';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/alexandria-v3-arabic-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Alexandria';
    background-image: url(../images/header_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

.container {
    max-width: 1440px;
    /* You can set your preferred width */
}

/*
* Styles for Audio Player
*/
.release-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.release-title {
    margin-top: 10px;
}

.play-audio {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-audio i {
    font-size: 1rem;
    transition: color 0.2s ease;
}

.play-audio:hover {
    transform: scale(1.1);
}

.play-audio:hover i {
    color: #000;
}

/* Responsive tweaks for smaller buttons on mobile */
@media (max-width: 768px) {
    .play-audio {
        width: 40px;
        height: 40px;
    }

    .play-audio i {
        font-size: 1.2rem;
    }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.marquee-title {
    display: inline-block;
    animation: none;
    /* No animation by default */
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #333;
}

/* Marquee Animation */
@keyframes marquee {
    100% {
        transform: translateX(100%);
    }

    0% {
        transform: translateX(-100%);
    }
}

.marquee-active {
    animation: marquee 10s linear infinite;
    white-space: nowrap;
}

/*
* Slider styles
*/
.carousel-control-next,
.carousel-control-prev {
    width: 10%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 1.2rem;
    height: 1.2rem;
}


.artist-icon {
    filter: invert(1);
}

#heroSlider {
    min-height: 200px;
}

/*
* quran section
*/
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Optional for rounded corners */
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    border-bottom-left-radius: 8px;
    /* Match parent border radius */
    border-bottom-right-radius: 8px;
    height: 100%;
    transition: background 0.3s ease;
    /* Smooth transition for background changes */
    opacity: 0.8;
    /* Default opacity */

}

.gradient-overlay:hover {
    opacity: 1;
    /* Fully opaque on hover */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}


.gradient-overlay h3 {
    font-size: 1rem;
    margin: 0;
}

/**
* Footer player
*/
.footer-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    color: #333;
    z-index: 1000;
    border-top: 1px solid #ddd;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.footer-player.active {
    transform: translateY(0);
}

#waveform {
    width: 100%;
    height: 50px;
}

.btn-player {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.feature-box-img {
    height: 337px;
    object-fit: cover;
    aspect-ratio: auto;
}

.feature-box-play {
    position: absolute;
    left: 35px;
    bottom: 14px;
    z-index: 2;
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 48px;
    background-color: #fff;
    line-height: 62px;
    text-align: center;
    cursor: pointer;
}

.card-footer-play {
    position: relative;
}

/**
* Posts section
*/
.latest-posts .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-posts .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.latest-posts .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.latest-posts .card-text {
    font-size: 0.9rem;
    color: #555;
}

.latest-posts .card-img-top {
    height: 240px;
    object-fit: cover;
}

.owl-carousel .item {
    margin: 5px;
}

.owl-carousel .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owl-carousel .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.owl-theme .owl-nav [class*="owl-"] {
    background: #ddd;
    border-radius: 50%;
    padding: 5px 10px;
}


.owl-nav {
    display: flex;
    direction: ltr;
    justify-content: space-between;
    top: 50%;
    position: absolute;
    width: 100%;
    color: var(--bs-danger);
}

/**
* Inline releated Single Post
*/
.inline-related-posts {
    margin: 20px 0;
    padding: 15px;
}

.inline-related-posts h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.inline-related-posts ul {
    list-style: none;
    padding: 0;
}

.inline-related-posts li {
    margin-bottom: 5px;
}

/**
* Newsletter
*/
.newsletter input[type="email"] {
    direction: rtl;
}

/**
* Single Post
*/
.related-posts .list-group-item {
    border: none;
    padding: 10px;
}

.related-posts .list-group-item:hover {
    background-color: #f8f9fa;
}

.share-buttons .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    width: 32px;
}

.post-thumbnail img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.post-tags .badge {
    font-size: 0.9rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\f104';
    font: var(--fa-font-solid);

}

.breadcrumb {
    width: fit-content !important;
}

.breadcrumb a {
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    text-decoration: none;
}

/**
* Single Artist
*/
.sound-files-container {
    max-height: 400px;
    overflow-y: auto;
    background-color: #f9f9f9;
    padding: 10px;
}

/* Custom Scrollbar Styling */
.sound-files-container::-webkit-scrollbar {
    width: 8px;
}

.sound-files-container::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.sound-files-container::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sound-files-container {
        max-height: 300px;
        /* Reduce height for smaller screens */
    }
}

.active>.page-link {
    background-color: #f3f3f3;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
}

.file-size {
    font-size: 0.75rem;
}

.author-name {
    font-size: 0.8rem;
    font-weight: bold;
}

.menu-font {
    font-size: 0.85rem;
}

/**
* Footer
**/
.footer-widget a {
    color: white;
    text-decoration: none;
}

.footer-widget ul {
    padding: unset;
    margin: unset;
    list-style: none;
}

.footer-widget li {
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;

}

.footer-widget-title {
    font-weight: bold;
}

#menu-polices {
    display: flex;
    font-weight: bold;
    font-size: 0.7rem;
}

#menu-polices li {
    margin-left: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.header-social a {
    color: #0E0C0C;
}

.social-icon:hover {
    color: var(--bs-danger);
    /* Change to your desired hover color */
}

.main-footer {
    background-color: #232323;
}

.copyrights {
    background-color: #0E0C0C;
}

.footer {
    background-color: #232323;
}

.top-border {
    border-top: 1px solid #393939;
}

.section-title {
    border-right: 4px solid var(--bs-danger);
    padding-right: 10px;
}