.notice-badge {
    background-color: #f00;
    color: #fff;
    padding: 20px 10px;
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    padding-right: 25px;
    line-height: 1;
    z-index: 1;
}

@media screen and (max-width: 992px) {
    .notice-wrapper {
        display: none;
    }
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(30%);
    }
    to {
        transform: translateX(-80%);
    }
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    margin: 20px;
}

.image-fixed-height {
    height: 200px;
    width: 100%;
}

.image-fixed-height img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    background-color: #f00;
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 10px 0 10px;
}

.why-choose {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    margin: 20px;
}

.fact-item {
    padding: 30px 20px;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: transform 0.3s;
}

.fact-item:hover {
    transform: scale(1.05);
    background-color: #495057;
}

.fact-item h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.fact-item p {
    font-size: 1.2rem;
    margin: 0;
}

.principal-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item {
    height: 100%;
    object-fit: cover;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image {
    width: 100%;
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
}

@media screen and (max-width: 992px) {
    .about-image {
        height: 300px;
        margin-bottom: 20px;
    }
}

/* CUSTOM */
.event-card-fullpage {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    color: black;
}

.event-img {
    margin-top: 20px;
    margin-bottom: 20px
}

.event-date-span {
    font-size: 18px;
    font-weight: 700;
    color: #062c33;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    color: black;
}

.team-member-card > img {
    width: 100%; /* Adjust width as needed */
    max-width: 200px; /* Set a max-width to maintain size */
    height: 200px; /* Fixed height */
    aspect-ratio: 1 / 1; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the entire area */
    border-radius: 50%; /* Make it circular */
    margin-bottom: 20px;
    display: block; /* Ensure no extra space at bottom */
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .team-member-card > img {
        max-width: 300px; /* Adjust the max-width for smaller screens */
        height: 180px; /* Adjust height to maintain the circle */
    }
}

@media (max-width: 768px) {
    .team-member-card > img {
        max-width: 200px; /* Adjust the max-width for smaller screens */
        height: 200px; /* Adjust height to maintain the circle */
    }
}

@media (max-width: 576px) {
    .team-member-card > img {
        max-width: 200px; /* Further adjust max-width for very small screens */
        height: 200px; /* Further adjust height */
    }
}

#pagination-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

#pagination-wrapper {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 575px) {
    #pagination-wrapper {
        flex-direction: column;
    }
    #pagination-text {
        justify-content: start;
    }
    
}

@media screen and (max-width: 992px) {
    .event-card-fullpage {
        padding: 20px;
    }

    .team-member-card {
        padding: 20px;
    }
    
}

.form-group.downloads {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group.downloads > .form-control {
    flex: 1;
    margin-right: 10px;
}

.gallery-title > h2 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-line: 5px underline;
}

.gallery-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Gallery Pagination */
.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.pagination .page-item .page-link {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary);
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: background-color 0.2s;
}

.pagination .page-item .page-link:hover {
    color: var(--primary);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}