/*--------------------------------------------------------------
# Swiper Carousel Styles
--------------------------------------------------------------*/
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    background-color: #cccccc;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Team Carousel Pagination */
.team-carousel .swiper-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.team-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #d1d5db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-carousel .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/*--------------------------------------------------------------
# Animations & Transitions
--------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Show Pojo Accessibility toolbar if it exists */
#pojo-a11y-toolbar {
    display: block !important; /* Show the accessibility toolbar */
    position: fixed !important;
    bottom: 150px !important; /* Position above FAB buttons */
    left: 20px !important; /* Position on left side */
    right: auto !important;
    z-index: 99999 !important; /* Higher than FAB buttons */
    opacity: 1 !important;
    visibility: visible !important;
}

/* WP Accessibility Toolbar - Show on Mobile and Desktop */
.a11y-responsive,
.a11y-toolbar-wrap,
#wp-accessibility-toolbar {
    display: block !important; /* Override plugin's mobile hiding */
    opacity: 1 !important;
    visibility: visible !important;
}

.a11y-toolbar,
#wp-accessibility-toolbar {
    position: fixed !important;
    z-index: 99999 !important; /* Higher than FAB buttons */
    top: auto !important;
    bottom: 150px !important; /* Position above FAB buttons */
    left: 20px !important; /* Position on left side */
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Floating Action Buttons - Enhanced Visibility */
.fab-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99998 !important; /* High but below accessibility toolbar */
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important; /* Prevent any transforms */
}

.fab-item {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(44, 82, 130, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 99997 !important;
}

.fab-item:hover {
    background-color: var(--hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(44, 82, 130, 0.4);
    text-decoration: none;
    color: #fff;
}

.fab-donate {
    background-color: #e53e3e !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.fab-donate:hover {
    background-color: #c53030 !important;
    color: #fff !important;
}

.fab-volunteer {
    background-color: #10B981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3) !important;
}

.fab-volunteer:hover {
    background-color: #047857 !important;
    color: #fff !important;
    box-shadow: 0 6px 25px rgba(4, 120, 87, 0.4) !important;
    text-decoration: none;
}

.fab-item[href*="whatsapp"],
.fab-item.fab-whatsapp {
    background-color: #25d366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
}

.fab-item[href*="whatsapp"]:hover,
.fab-item.fab-whatsapp:hover {
    background-color: #128c7e !important;
    box-shadow: 0 6px 25px rgba(18, 140, 126, 0.4) !important;
}

.fab-item[href*="facebook"] {
    background-color: #1877f2;
}

.fab-item[href*="facebook"]:hover {
    background-color: #166fe5;
}

.fab-item[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.fab-item[href*="instagram"]:hover {
    opacity: 0.9;
}

#scroll-to-top {
    opacity: 0;
    visibility: hidden;
    background-color: #4A5568 !important; /* Dark gray - different from WhatsApp */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scroll-to-top:hover {
    background-color: #2D3748 !important; /* Darker gray on hover */
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2C5282 0%, #38A169 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(44, 82, 130, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-to-top-btn:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 25px rgba(44, 82, 130, 0.4);
    background: linear-gradient(135deg, #2B4A7A 0%, #2F855A 100%);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure the arrow icon is perfectly centered */
.scroll-to-top-btn i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    font-size: inherit !important;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
}

/* FontAwesome icon centering fix */
.scroll-to-top-btn i::before {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile responsive for scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Zeffy Modal */
.zeffy-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: none;
    padding: 20px;
    box-sizing: border-box;
}

.zeffy-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.zeffy-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    z-index: 999998 !important;
}

.zeffy-modal-content {
    position: relative !important;
    width: 100% !important;
    max-width: 800px !important;
    height: 90vh !important;
    max-height: 700px !important;
    background-color: #fff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
    margin: auto !important;
}

.zeffy-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #fff !important;
    font-size: 24px !important;
    color: #fff !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
    line-height: 1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.zeffy-modal-close:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .zeffy-modal {
        padding: 10px !important;
    }
    
    .zeffy-modal-content {
        width: 100% !important;
        height: 95vh !important;
        max-height: none !important;
        border-radius: 10px !important;
    }
    
    .zeffy-modal-close {
        top: 5px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid #fff !important;
    }
}

.zeffy-iframe-container {
    width: 100%;
    height: 100%;
}

.zeffy-iframe-container > div,
.zeffy-iframe-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* External link icon styling for events */
.external-icon {
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

a:hover .external-icon {
    opacity: 1;
}

