.main-image {
    border-radius: 20px !important;
}

.principal-message h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.notice h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.qr-code-placeholder {
    width: 180px;
    height: 180px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.notice-compact-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.notice-compact-item:last-child {
    border-bottom: none;
}

.notice-compact-item:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
}

.notice-compact-date {
    background: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 15px;
    min-width: 100px;
    text-align: center;
}

.notice-compact-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--heading-color);
}

.notice-compact-title:hover {
    color: var(--accent-color);
}

/* Notice Detail Page Styles */
.notice-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.notice-detail-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
}

.notice-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--default-color);
}

.notice-viewer {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.viewer-header h5 {
    color: var(--heading-color);
    font-weight: 600;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .notice-detail-title {
        font-size: 1.8rem;
    }

    .iframe-container {
        padding-bottom: 100%;
        /* Square aspect ratio on mobile */
    }
}

/* News & Events Card Styles */
.news-event-card {
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-event-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-event-card:hover .news-event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-badge.news {
    background: #28a745;
}

.news-event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-date-small {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-date-small i {
    margin-right: 5px;
}

.news-event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-event-title a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-event-title a:hover {
    color: var(--accent-color);
}

.news-event-excerpt {
    color: var(--default-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: var(--heading-color);
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* News & Event Detail Page Styles */
.detail-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.detail-header .detail-meta {
    font-size: 0.9rem;
}

.detail-header .detail-meta .badge {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--default-color);
}

.detail-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--heading-color);
}

.detail-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.75rem;
    font-weight: 600;
}

.detail-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.detail-content ul li {
    margin-bottom: 10px;
}

.detail-gallery img {
    transition: transform 0.3s ease;
}

.detail-gallery img:hover {
    transform: scale(1.02);
}

.detail-share h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-share .btn {
    margin-bottom: 10px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.recent-posts .recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-posts .recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts .recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content h6 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h6 a:hover {
    color: var(--accent-color);
}

.post-date {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.post-date i {
    margin-right: 5px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    color: var(--default-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.category-list li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.category-list li a i {
    font-size: 0.7rem;
    margin-right: 8px;
}

.category-list li a span {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag {
    display: inline-block;
    padding: 6px 15px;
    background: #f5f5f5;
    color: var(--default-color);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
    background: var(--accent-color);
    color: #fff;
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 1.8rem;
    }

    .detail-content {
        font-size: 1rem;
    }

    .detail-content .lead {
        font-size: 1.1rem;
    }
}

/* Gallery Cards Styles */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 350px;
}

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

.gallery-card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: background 0.4s ease;
}

.gallery-card:hover .gallery-card-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%);
}

.gallery-card-content {
    width: 100%;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-content {
    transform: translateY(-10px);
}

.gallery-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.photo-count {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-count i {
    font-size: 1.1rem;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-card:hover .view-gallery-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-gallery-btn:hover {
    background: #fff;
    color: var(--accent-color);
    gap: 12px;
}

.view-gallery-btn i {
    transition: transform 0.3s ease;
}

.view-gallery-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .gallery-card {
        height: 280px;
    }

    .gallery-card-content h3 {
        font-size: 1.25rem;
    }

    .gallery-card-overlay {
        padding: 20px;
    }

    .view-gallery-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Gallery Styles */
.video-card-link {
    text-decoration: none;
    display: block;
}

.video-card {
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.play-button i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.video-card:hover .play-button .svg-inline--fa.fa-play.fs-2 {
    color: var(--background-color);
}


.video-card:hover .play-button {
    transform: scale(1.1);
    background: var(--accent-color);
}

.video-card:hover .play-button i {
    color: #fff;
}

.video-duration {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-duration i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 2rem;
    }
}


.or-separator {
    position: relative;
    text-align: center;
    padding: 10px 0;
}

.or-separator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    z-index: 1;
    position: relative;
}

.or-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

/* Ensure donation cards have equal height */
#donations .row.align-items-center {
    align-items: stretch;
}

#donations .contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#donations .contact-card>div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .or-separator::before {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    }

    .or-separator {
        padding: 30px 0;
    }

    #donations .contact-card {
        height: auto;
    }
}

.ekko-lightbox-nav-overlay a {
    color: goldenrod;
}

.gallery-title {
    text-align: center;
    font-weight: 500;
    border-bottom: 1px dotted var(--accent-color);
    margin-top: 1em;
}

.gallery-item {
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
    border-radius: 8px;
    pointer-events: none;
}

.gallery-text {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    z-index: 10;
}

.gallery-text a {
    text-decoration: none;
    color: #fff;
}

.gallery-text a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

.gallery-text a h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.gallery-text p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.gallery-slider .swiper-button-prev {
    color: var(--accent-color);
}

.gallery-slider .swiper-button-next {
    color: var(--accent-color);
}


.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.php-email-form .sent-message {
    background-color: transparent;
    color: var(--accent-color);
    border-radius: 8px;
    font-size: 1.5rem;
    margin-bottom: 0;
}


.php-email-form .error-message {
    background-color: transparent;
    color: var(--danger);
}

.php-email-form .loading {
    background-color: transparent;
    color: var(--accent-color);

}

.events-extended .btn-primary {
    font-size: 1rem;
    color: var(--heading-color);
    font-family: var(--heading-font);
    background-color: var(--background-color);
    border: none;
}

.events-extended .btn-primary a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.footer-top .footer-links img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 2px;
}

.metric-header .metric-icon-wrapper .svg-inline--fa {
    color: var(--accent-color);
}

.about-image-details {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.glightbox-clean .goverlay {
    background: color-mix(in srgb, var(--primary-color), black 10%);
    opacity: 0.8;
}

.glightbox-clean .gbtn {
    background-color: transparent;
    color: #fff;
    transition: all 0.3s ease;
}

.glightbox-clean .gbtn:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 4px;
}

.glightbox-clean .gbtn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.hero-slider .swiper-slide img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

/* Custom Core Values Grid */
.custom-value-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    z-index: 1;
}

.custom-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: color-mix(in srgb, var(--background-color), white 50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.custom-value-card:hover .card-icon-wrapper {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.1) rotate(360deg);
}

.card-content h4 {
    color: var(--heading-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.card-content p {
    color: var(--default-color);
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

/* Background hover animation */
.hover-shape {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.5s ease;
    z-index: -1;
}

.custom-value-card:hover .hover-shape {
    transform: scale(15);
    opacity: 0.03;
}

.card-icon-wrapper i,
.card-icon-wrapper svg {
    font-size: 32px;
}

.starter-section .glightbox img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

#download-btn,
#back-to-news-and-event {
    background-color: var(--accent-color);
    color: var(--background-color);
    border: none;
}