@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

body {
    margin: 0%;
    padding: 0%;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

#go-top-btn {
    position: fixed;
    bottom: 20px;
    right: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: none;
    background-color: #0d6b2f;
    transition: opacity 0.4s, transform 0.4s;
    box-shadow: rgba(255, 255, 255, 0.25) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    z-index: 99;
    opacity: 0;
    transform: scale(0.9);
}

#go-top-btn.show {
    opacity: 1;
    transform: scale(1);
}

#go-top-btn i {
    color: #fff;
    font-size: 25px;
}

.text-green {
    color: #0d6b2f;
}

.heading-style {
    font-family: "Lora", serif;
}

.carousel-item {
    height: 80vh !important;
}

.carousel-item img {
    object-fit: cover;
    /* object-position: center; */
    /* object-position: center center; */
}

.logo {
    height: 100px;
    width: 100px;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.auqaf-logo {
    height: 80px !important;
    width: 80px !important;
}

.nav-text {
    font-weight: 600 !important;
    color: white !important;
}

.nav-text:hover {
    color: green;
}

/* .nav-item-border {
    border-right: 1px solid white;
} */

.nav-link.active {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
}

.btn-download {
    background: #0d6b2f;
    background: linear-gradient(
        0deg,
        rgba(13, 107, 47, 1) 0%,
        rgba(19, 181, 30, 1) 100%
    );
    font-weight: 600;
    transition: 0.3s;
}

.btn-download:hover {
    transform: scale(1.05);
}

.prayer-name {
    font-weight: 600;
    font-size: 25px;
    margin-bottom: 0px;
}

.bg-hero {
    background-image: url(/public/images/bg-hero.png);
    /* min-height: 91vh; */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.heading-text {
    font-weight: 600;
    line-height: 3.5rem;
    font-size: 45px;
}

.btn-yellow {
    background-color: #ffde00;
    font-weight: 600;
    transition: 0.3s;
}

.btn-yellow:hover {
    transform: scale(1.05);
}

.desc-text {
    font-weight: 600;
}

.app-icon {
    height: 50px;
    width: 50px;
    transition: 0.3s;
}

.app-icon:hover {
    transform: scale(1.05);
}

.book {
    height: 400px;
}

.about-bg {
    background-image: url(/public/images/About-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-support {
    font-size: 27px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-color: white;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease-in-out;
}

.about-us {
    background-image: url(/public/images/about-us-bg.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    height: 380px;
}

.available-text {
    font-size: 30px;
    font-weight: 600;
}

.google-play {
    height: 50px;
    border-radius: 6px;
    transition: 0.3s;
}

.google-play:hover {
    transform: scale(1.05);
}

.book-title {
    font-weight: 600;
    color: black;
}

.book-title-effect:hover .book-title {
    color: #0d6b2f;
}

.book-thumbnail {
    height: 400px;
    width: 300px;
}

.book-thumbnail img {
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    border-radius: 20px;
    transition: 0.3s;
}

.book-thumbnail img:hover {
    transform: scale(1.01);
}

.book-box {
    background-color: #ffffff;
    /* height: 400px; */
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    transition: 0.3s;
}

.book-box:hover {
    transform: scale(1.03);
}

.library-book-thumbnail {
    height: 350px;
    width: 300px;
}

.library-book-thumbnail:hover {
    transition: 0.3s;
}

.library-book-thumbnail img {
    height: 100%;
    width: 100%;
    border-radius: 20px 20px 0px 0px;
}

.book-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

.book-link {
    border-bottom: 1px solid #000000;
}

.book-section h4 {
    font-size: 2rem;
    color: #343a40;
    font-weight: bold;
    text-align: right;
    margin-bottom: 1rem;
}

.book-section p {
    font-size: 1.2rem;
    line-height: 2;
    color: #555;
    text-align: right;
}

.book-section a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 600;
}

.book-section a:hover {
    color: #0056b3;
    text-decoration: none;
}

.book-cover-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.book-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.book-cover-wrapper:hover img {
    transform: scale(1.05);
}

.book-title-truncated {
    line-height: 1.8rem;
}

.video-box {
    background-color: #ffffff;
    /* height: 400px; */
    /* width: 300px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    transition: 0.3s;
}

.video-box:hover {
    transform: scale(1.03);
}

.event-picture {
    height: 350px;
    background-color: #ffffff;
    /* height: 400px; */
    /* width: 300px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    transition: 0.3s;
}

.event-picture img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    transition: 0.3s;
}

.event-picture img:hover {
    transform: scale(1.02);
}

.event-picture iframe {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    transition: 0.3s;
    display: block;
}

.event-picture:hover iframe {
    transform: scale(1.02);
}

.video-thumbnail {
    height: 300px;
    width: auto;
}

.video-thumbnail img {
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    border-radius: 20px 20px 0px 0px;
}

.slider-video-thumbnail {
    height: 300px;
    width: auto;
}

.slider-video-thumbnail img {
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    border-radius: 20px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #0d6b2f;
    border-color: #0d6b2f;
}

.title-truncate {
    line-height: 1.8rem;
}

.youtube-video iframe {
    border-radius: 20px;
    height: 500px;
    width: 100%;
}

.small iframe {
    border-radius: 20px;
    height: 300px;
    width: 100%;
}

.footer-logo {
    height: 100px;
    width: 100px;
}

.footer-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.social-icon {
    height: 40px;
    width: 40px;
    background-color: #0d6b2f;
    border-radius: 50%;
    transition: 0.4s;
}

.social-icon:hover {
    transform: scale(1.05);
}

.footer-links {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}

.footer-links:hover {
    text-decoration: underline;
    color: #0d6b2f;
}

.icon-box {
    height: 50px;
    width: 50px;
    background-color: #0d6b2f;
}

.icon-box i {
    font-size: 25px;
}

.google-map iframe {
    height: 555px;
    width: 100%;
}

.audio-card {
    background: linear-gradient(to bottom right, #f8f9fa, #e8f5e9);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 128, 0, 0.15);
}

.audio-card-body {
    text-align: center;
}

.audio-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 8px;
}

.audio-speaker {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.audio-footer {
    text-align: center;
    padding-top: 12px;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #ddd;
    margin-top: 16px;
}
/* Floating Button */
.floating-namaz-btn {
    /* position: fixed; */
    /* top: 50%;
    right: 30px; */
    /* transform: translateY(-50%); */
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}
.floating-namaz-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.5);
    transform: translateY(-12%);
}

/* Modal Overlay */
.modern-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modern-modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    /* width: 90%; */
    max-width: 400px;
    text-align: center;
    position: relative;
    /* margin: auto; */
    /* top: 50%; */
    /* transform: translateY(-50%); */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

/* Close Icon */
.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}
.close-btn:hover {
    color: #000;
}

/* Prayer Times Grid */
.namaz-times {
    margin-top: 20px;
    display: grid;
    gap: 15px;
}
.time-box {
    background: #f9f9f9;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer */
.modal-footer {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.prayer-popup {
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slick-slide {
    display: none;
    float: left;
    height: auto !important;
    /* min-height: 1px; */
}

.section-gray-bg {
    background-color: #f4f4f4;
}

.event-card-modern {
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    transform: translateY(0);
}

.event-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #ccc;
}

.speaker-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1.5px solid #047857;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

a[data-fancybox="gallery"] img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a[data-fancybox="gallery"]:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    height: 250px;
    width: 100%;
}

.gallery-image img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.about-section-picture {
    height: 400px;
    width: 400px;
}

.about-section-picture img {
    height: 100%;
    width: 100%;
}

.about-shrine {
    height: 400px;
    width: 400px;
}

.about-shrine img {
    height: 100%;
    width: 100%;
}
/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .logo {
        height: 75px;
        width: 75px;
    }
    .nav-item-border {
        border-right: 0px solid white;
    }
    .carousel-item {
        height: auto !important;
    }
    .heading-text {
        font-weight: 600;
        line-height: 2.5rem;
        font-size: 30px;
    }
    .prayer-name {
        font-weight: 600;
        font-size: 20px;
        margin-bottom: 4px;
    }
    .book {
        height: 350px;
    }
    .slider-video-thumbnail {
        height: 200px;
        width: auto;
    }
    .about-us {
        height: 515px;
    }
    .video-thumbnail {
        height: 200px;
        width: auto;
    }
    .youtube-video iframe {
        height: 225px;
        width: 100%;
    }
    .book-cover-wrapper {
        height: 350px;
        margin-bottom: 20px;
    }

    .small iframe {
        height: 225px;
        width: 100%;
    }
    .google-map iframe {
        height: 370px;
        width: 100%;
    }
    .event-picture {
        height: 225px;
    }
    .auqaf-logo {
        height: 60px !important;
        width: 60px !important;
    }

    .about-section-picture {
        height: 300px;
        width: 300px;
        margin-top: 20px;
    }

    .about-shrine {
        height: 250px;
        width: 250px;
        margin-top: 20px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

@media (min-width: 767.98px) {
    .divider {
        display: block;
        visibility: hidden;
        font-size: 0;
    }
}
