@import url('https://fonts.googleapis.com/css2?family=Qwigley&display=swap');

.section-title-qwigley {
    font-size: 60px;
    color: #3a3740;
    margin: 50px;
    font-family: 'Qwigley', cursive;
    text-align: center;
    font-weight: 500;
    line-height: 1.1;
}

.listen-page-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    line-height: 1.3;
}

.listen-page-btn .fa {
    font-size: 0.85em;
}

#scroll {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.hero-audio-control {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 25;
}

.hero-audio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    background: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    line-height: 1;
}

.hero-audio-btn:hover {
    background: #f8f8f8;
}

.hero-audio-btn .fa-play,
.hero-audio-btn .fa-pause {
    color: #000;
    font-size: 11px;
}

.hero-audio-dots {
    color: #000;
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 1;
}

.hero-banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #000;
}

.hero-banner .header-carousel.owl-carousel {
    width: 100%;
    aspect-ratio: 2.32 / 1;
    max-height: calc(100vh - 72px);
}

.hero-banner .header-carousel.owl-carousel .owl-stage-outer,
.hero-banner .header-carousel.owl-carousel .owl-stage,
.hero-banner .header-carousel.owl-carousel.owl-drag .owl-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    background: #000;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide-caption {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 12px 24px 8px;
    background: #fff;
    color: #333;
    border-radius: 50px;
    font-size: clamp(1.1rem, 2.8vw, 2.75rem);
    white-space: nowrap;
    max-width: 92%;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 5;
    pointer-events: none;
    line-height: 1.2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-carousel-controls {
    position: absolute;
    bottom: 9%;
    right: 90px;
    z-index: 20;
    display: flex;
    border: 1px solid #fff;
    pointer-events: auto;
}

.header-carousel-controls button {
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.header-carousel-controls button:not(:disabled):hover {
    opacity: 0.85;
}

.header-carousel-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.header-carousel-controls button:disabled:hover {
    width: 48px;
    min-width: 48px;
    padding: 0;
}

.header-carousel-controls button:disabled .header-carousel-count {
    max-width: 0;
    opacity: 0;
}

.header-carousel-prev {
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-color: rgba(255, 180, 140, 0);
    border-right: 1px solid #fff;
    
    font-size: 16px;
    gap: 10px;
    transition: padding 0.2s ease, width 0.2s ease;
}

.header-carousel-prev:not(:disabled):hover {
    width: auto;
    padding: 0 14px;
}

.header-carousel-next {
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-color: rgba(45, 30, 25, 0);
    padding: 0;
    font-size: 16px;
    gap: 10px;
    transition: padding 0.2s ease, width 0.2s ease;
}

.header-carousel-next:not(:disabled):hover {
    width: auto;
    padding: 0 14px;
}

.header-carousel-arrow {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.header-carousel-count {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.2s ease, opacity 0.2s ease;
}

.header-carousel-prev:not(:disabled):hover .header-carousel-count,
.header-carousel-next:not(:disabled):hover .header-carousel-count {
    max-width: 4em;
    opacity: 1;
}

@media (max-width: 700px) {
    .hero-slide-caption {
        font-size: 1.25rem;
        padding: 8px 16px 6px;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .header-carousel-controls {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-carousel-controls {
        bottom: 6%;
        right: 16px;
    }

    .header-carousel-prev,
    .header-carousel-next {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .header-carousel-prev:not(:disabled):hover,
    .header-carousel-next:not(:disabled):hover {
        padding: 0 10px;
    }

    .header-carousel-controls button:disabled:hover {
        width: 40px;
        min-width: 40px;
    }

    .header-carousel-count {
        font-size: 12px;
    }
}

.fs-15 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* Show only 3 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .category-list {
        margin: 20px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .category-title {
        padding: 10px 15px;
        cursor: pointer;
        background-color: #ff8776;
        color: #fff;
        border: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .category-title:hover {
        background-color: black;
    }

    /* Gallery container for proper alignment */
    .gallery {
        display: flex;
        gap: 15px;
        justify-content: center;
        padding: 0 15px;
        margin: 20px 0;
    }

    /* Image Styling */
    .image-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s;
        height: 200px;
        /* Set a consistent height for the image items */
    }

    .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensure images are properly scaled */
        transition: transform 0.3s;
    }

    .image-item:hover img {
        transform: scale(1.1);
    }

    /* Modal styling */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .modal-content {
        position: relative;
        width: 80%;
        max-width: 800px;
        border-radius: 8px;
        overflow: hidden;
    }

    .modal-content img {
        width: 100%;
        height: 480px !important;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #ff0000;
        color: #fff;
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 5px;
    }

    /* Animations */
    @keyframes zoomIn {
        from {
            transform: scale(0.7);
        }

        to {
            transform: scale(1);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Responsive styling */
    @media (max-width: 768px) {
        .image-item {
            height: 180px;
            /* Adjust height for smaller screens */
        }
    }

    @media (max-width: 576px) {
        .image-item {
            height: 150px;
            /* Further adjust height for smaller screens */
        }
    }
    .iconic-image {
        height: 0;
        padding-bottom: 75% !important;
        overflow: hidden;
        position: relative;
    }

    /* search  css */
    /* Adjusting padding and margins for mobile */
    @media (max-width: 767px) {
        .search-wrapper {
            flex-direction: column;
            padding: 1rem;
        }
        .search-input {
            margin-bottom: 0.5rem;
        }
    }

    /* Adjusting for tablet screens */
    @media (min-width: 768px) and (max-width: 991px) {
        .search-wrapper {
            flex-direction: row;
        }

        .vertical-divider {
            height: auto;
            width: 1px;
            background-color: #ccc;
        }
    }
    .lightbox-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .lightbox-content {
        display: flex;
        align-items: center;
    }

    .lightbox-img {
        max-width: 90%;
        max-height: 80%;
    }

    .lightbox-prev,
    .lightbox-next {
        background-color: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        margin: 0 10px;
    }

    .close-lightbox {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }
    .gallery-container {
        padding: 20px;
        text-align: center;
    }

    .filter-buttons {
        margin-bottom: 20px;
    }

    .filter-btn {
        padding: 10px 20px;
        margin: 5px;
        border: none;
        background-color: #ff6f61;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .filter-btn.active {
        background-color: #ff944d;
    }

    .gallery-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        border-radius: 25px;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-wrapper {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-top: 8px;
    }

    .gallery-swiper {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .gallery-swiper.top {
        margin-bottom: 0;
    }

    .gallery-swiper.bottom {
        margin-top: 0;
    }

    .gallery-swiper .swiper-slide {
        width: 280px !important;
        height: auto;
    }

    .gallery-slide-link {
        display: block;
        position: relative;
        text-decoration: none;
        color: #fff;
    }

    .gallery-slide-link img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
        transition: transform 0.3s ease;
    }

    .gallery-slide-link:hover img {
        transform: scale(1.03);
    }

    .gallery-slide-title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 10px;
        background: rgba(0, 0, 0, 0.68);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        border-radius: 0 0 8px 8px;
    }

    @media (max-width: 768px) {
        .gallery-item {
            width: calc(50% - 15px);
        }
    }

    @media (max-width: 480px) {
        .gallery-item {
            width: 100%;
        }
    }

    .image-popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .image-popup.active {
        display: flex;
    }

    .popup-img {
        max-width: 90%;
        max-height: 90%;
    }

    .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        font-size: 20px;
    }

    .nav-arrow.prev {
        left: 20px;
    }

    .nav-arrow.next {
        right: 20px;
    }

    .close-popup {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    .p1 {
        background-color: #ff8776;
        color: white;
        border-radius: 20px;
        padding: 7px;
        margin-bottom: 15px;
        margin-top: 40%;
    }

    @media (max-width: 768px) {
        .p1 {
            background-color: #ff8776;
            color: white;
            border-radius: 20px;
            padding: 7px;
            margin-bottom: 15px;
            margin-top: 170%;
        }

        p {
            margin-top: 0;
            margin-bottom: 1rem;
            font-size: calc(0.300rem + 1.5vw) !important;
        }
    }
.card {
    display: flex;
    flex-direction: column;
}
.card-img-wrap {
    flex: 0 0 auto;
}
.card-content {
    flex: 0.4 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Ensure the images are consistently sized */
.image-container {
    width: 100%; /* Ensure the container matches the card width */
    aspect-ratio: 1 / 1; /* Maintain a 1:1 ratio for width and height */
    overflow: hidden; /* Prevent overflow of images outside the container */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5; /* Optional: Background color to fill empty space */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop the image to fit the container */
    display: block;
}