
/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-grow {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/* Smooth ZoomIn Animation Override */
@keyframes smoothZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-header-inner.animated.zoomIn {
    animation: smoothZoomIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-duration: 0.9s !important;
}

/* Page Load Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    display: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 999 !important;
    opacity: 0;
    transform: translateY(20px);
    border-radius: 50%;
}

.back-to-top.show {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure back-to-top button position on all devices */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px !important;
        bottom: 20px !important;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 15px !important;
        bottom: 15px !important;
        width: 40px;
        height: 40px;
    }
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 700 !important;
    font-family: 'Open', sans-serif !important;
    line-height: 1.3 !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open', sans-serif !important;
    line-height: 1.4 !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Improve button animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary:hover {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.fixed-top {
    transition: all 0.5s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fixed-top.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    padding: 12px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-toggler {
    background: transparent;
    color: var(--bs-primary) !important;
    padding: 8px 12px;
    border: 2px solid var(--bs-primary) !important;
    border-radius: 5px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 3px 10px rgba(241, 193, 82, 0.3);
}

.navbar-toggler:active,
.navbar-toggler[aria-expanded="true"] {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.navbar-toggler .fa-bars {
    color: inherit;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover .fa-bars,
.navbar-toggler[aria-expanded="true"] .fa-bars {
    transform: rotate(90deg);
}

.navbar-toggler .text-primary {
    color: inherit !important;
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding-top: 15rem;
    padding-bottom: 6rem;
    background: url("../img/home.jpg"), center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-header .hero-header-inner p,
.hero-header .hero-header-inner h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-header .hero-header-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.55);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
        padding-bottom: 4rem;
    }
    
    .hero-header .hero-header-inner {
        padding: 2rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}
/*** Hero Header ***/


/*** About Start ***/
.about {
    position: relative;
}

.about img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.about img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}
/*** About End ***/


/*** Activities Start ***/
.activities {
    position: relative;
}

.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: all 0.5s ease;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.activities .activities-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.activities .activities-item:hover::before {
    left: 100%;
}

.activities .activities-item:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(12, 18, 20, .15);
}

.activities .activities-item i {
    transition: transform 0.5s ease;
}

.activities .activities-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}
/*** Events End ***/


/*** Sermon Start ***/
.sermon .sermon-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.sermon-item img {
    transition: 0.5s;
}

.sermon-item:hover img {
    transform: scale(1.2)
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
    transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
    color: var(--bs-primary) !important;
}
/*** Sermon End ***/


/*** Blog Start ***/
.blog-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.2)
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-img {
    height: 100%;
    padding: 25px;
    background: var(--bs-white);
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

.team .team-item:hover img {
    transform: scale(1.2);
}

.team .team-item .team-content {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   padding: 15px;
   transform: translateX(-50%, -50%);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
    background: rgba(241, 193, 82, .7);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    background: var(--bs-light);
    padding: 40px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--bs-primary);
    color: var(--bs-dark);
    font-size: 22px;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** testimonial End ***/


/*** Prayer Time Start ***/
.prayer-time {
    background: white;
}

.prayer-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prayer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.prayer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.prayer-card:hover::before {
    transform: scaleX(1);
}

.prayer-card.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #f1c140 100%);
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(241, 193, 82, 0.4);
}

.prayer-card.active::before {
    transform: scaleX(1);
    background: linear-gradient(135deg, var(--bs-primary) 0%, #f1c140 100%);
    height: 5px;
}

.prayer-card.active .prayer-name,
.prayer-card.active .prayer-time {
    color: white !important;
}

.prayer-card.active .prayer-time {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #f1c140 100%);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

.prayer-card.active .prayer-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.prayer-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.prayer-card:hover .prayer-icon {
    transform: scale(1.1) rotate(5deg);
}

.prayer-card.active .prayer-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.15);
}

.prayer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prayer-time {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.prayer-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.prayer-card.active .prayer-status {
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.next-prayer-info {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
    transition: all 0.3s ease;
}

.next-prayer-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.next-prayer-info p {
    margin: 0;
}

.time-display {
    transition: all 0.3s ease;
}

.time-display:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .prayer-card {
        padding: 1.5rem 1rem;
    }
    
    .prayer-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .prayer-time {
        font-size: 1.5rem;
    }
    
    .next-prayer-info {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .prayer-card {
        padding: 1.2rem 0.8rem;
    }
    
    .prayer-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .prayer-time {
        font-size: 1.3rem;
    }
}
/*** Prayer Time End ***/


/*** Footer Start ***/
.footer {
    margin-top: 6rem;
    background: var(--bs-dark);
}

.footer .footer-item {
    margin-bottom: 2rem;
}

.footer .footer-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer .footer-item p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer .border-top,
.footer .border-bottom {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer button {
    border: 0;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
    background: var(--bs-primary);
    color: var(--bs-dark) !important;
    border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
    transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
    color: var(--bs-primary) !important;
}

.footer-item .btn-square {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-item .text-body {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px;
}

.footer-item .text-body:hover {
    color: var(--bs-primary) !important;
}

/* Navigation Buttons in Footer */
.footer-item .btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.footer-item .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 193, 82, 0.4);
}

.footer-item .btn-sm i {
    font-size: 1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer .footer-item {
        margin-bottom: 2.5rem;
    }
    
    .footer .footer-item h4 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-item .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/*** Footer End ***/


/*** Gallery Start ***/
.gallery {
    background: transparent;
}

.gallery-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) transparent;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--bs-dark);
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
    width: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    background: transparent;
    padding: 10px;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

/* Modal Gallery */
#galleryModal .modal-content {
    background: transparent;
}

#galleryModal .modal-body {
    padding: 0;
}

#galleryModal .modal-body img {
    border-radius: 10px;
    max-height: 80vh;
    object-fit: contain;
    background: transparent;
}

/* Custom Close Button for Gallery Modal */
#galleryModal .btn-close-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 1 !important;
    color: #000 !important;
    font-size: 20px;
}

#galleryModal .btn-close-custom i {
    color: #000 !important;
    font-weight: bold;
}

#galleryModal .btn-close-custom:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 5px 15px rgba(241, 193, 82, 0.7);
}

#galleryModal .btn-close-custom:hover i {
    color: var(--bs-dark) !important;
}

/* Fallback for default btn-close */
#galleryModal .btn-close {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    opacity: 1 !important;
    width: 45px;
    height: 45px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    filter: brightness(0) !important;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1061;
    opacity: 0.8;
}

.gallery-nav-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 20px;
}

.gallery-nav-next {
    right: 20px;
}

.gallery-nav-btn i {
    font-size: 1.5rem;
}

/* Gallery Thumbnails */
.gallery-thumbnail {
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    opacity: 1 !important;
    transform: scale(1.1);
    border-color: var(--bs-primary) !important;
}

.gallery-thumbnail.active {
    opacity: 1 !important;
    border-color: var(--bs-primary) !important;
    border-width: 3px !important;
}

/* Gallery Loader */
.gallery-loader {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1062;
}

/* Responsive Gallery Modal */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav-btn i {
        font-size: 1.2rem;
    }
    
    .gallery-nav-prev {
        left: 10px;
    }
    
    .gallery-nav-next {
        right: 10px;
    }
    
    .gallery-thumbnail {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
        min-width: 250px;
    }
    
    .gallery-card {
        height: 250px;
    }
    
    .gallery-scroll-wrapper {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 200px;
        min-width: 200px;
    }
    
    .gallery-card {
        height: 200px;
    }
    
    .gallery-scroll-wrapper {
        gap: 10px;
    }
}
/*** Gallery End ***/