* {
    font-family: "Inria Sans", sans-serif;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #00793A;
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev img,
.carousel-control-next img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


.carousel-control-prev,
.carousel-control-next {
    opacity: 1 !important;
    width: auto;
}


.gallery-title {
    font-weight: 700;
    color: #00793A;
}

.carousel-item img {
    height: auto;
    width: 100vw;
    object-fit: cover;
}



.award-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.award-card img {
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.award-card p {
    background: linear-gradient(to right, #7cb6f3, #3a88dd);
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 0;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infinite-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #fff;
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.award-card {
    flex: 0 0 auto;
    width: 350px;
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

/* Infinite scroll animation */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.infinite-scroll-wrapper:hover .scroll-track {
    animation-play-state: paused;
}


.section-title {
    font-weight: bold;
    color: #00793A;
}


.media-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 50vh;
}


.media-card img.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.section-title {
    font-weight: 700;
    color: #00793A;
}


.timeline-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.timeline-wrapper {
    width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    background-color: #008c44;
    z-index: 1;
}

.year,
.empty-year {
    border: 2px solid #008c44;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.empty-year {
    width: 30px;
    height: 30px;
}

.year {
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
}

.year.active {
    background-color: #008c44;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.5rem;
}

.year.prev-next {
    width: 60px;
    height: 60px;
    font-size: 1rem;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 20px;
    position: relative;
}

.logo img {
    width: 200px;
    height: auto;
}

.pagination .page-link {
    color: #007c3e;
    font-weight: 500;
    border-radius: 50% !important;
    margin: 0 4px;
    width: 36px;
    height: 36px;
    padding: 6px 0;
    text-align: center;
    border: none;
}

.pagination .active .page-link {
    background-color: #007c3e;
    color: #fff;
}


/* Testimonial page style */

.testimonial-section {
    background-image: url('/assets/images/testimonial-bg.png');
    background-position: center;
    background-size: cover;
    height: 80vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background-color: #ffffff;
    min-height: 400px;
}

.left-content {
    max-width: 600px;
}

.left-content h5 {
    color: #00793A;
    font-weight: bold;
    margin-bottom: 10px;
}

.left-content h1 {
    font-weight: 600 !important;
    margin-bottom: 15px;
    font-size: 40px;
    color: #373737 !important;
    font-family: 'poppins' !important;
}

.left-content p {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 30px;
}

.tab-btn {
    width: fit-content;
    border: 2px solid transparent;
    border-radius: 30px;
    background-image:
        linear-gradient(white, white),
        /* inner fill */
        linear-gradient(to right, #00793A, #ffc107);
    background-origin: border-box;
    background-clip: content-box, border-box;

}

.tab {
    width: fit-content;
    border: 2px solid transparent;
    border-radius: 30px;
    background-image:
        linear-gradient(white, white),
        /* inner fill */
        linear-gradient(to right, #ebd232, #a7c1b3);
    background-origin: border-box;
    background-clip: content-box, border-box;
    margin: 3px 3px;
}

.tab-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00793A;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px;
    border: 3px solid white;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.tab-buttons .btn:hover {
    background-color: white !important;
    color: #00793A !important;
}

.tab-buttons .btn.active {
    background-color: #00793A;
    color: white;
}


.testimonial-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.testimonial-box img {
    width: 100px;
    height: 100px;
    border-radius: 20%;
}

.testimonial-box h6 {
    font-weight: 700;
    margin-bottom: 8px;
}

.testimonial-box p {
    margin: 0;
    color: #333;
}


.testimonial-text span {
    color: #333333 !important;
}

.video-wrapper iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}



/* Calendar page style */

.calendar-container {
    display: flex;
    padding: 40px 30px;
    gap: 40px;
}

.year-list {
    width: 160px;
    max-height: 400px;
    padding: 0 10px;
    overflow-y: auto;
    border-right: 2px solid #ddd;
    text-align: center;
}

.year-item {
    padding: 9px 10px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
}

.year-item.active {
    background-color: #00793A;
    color: white;
    font-weight: bold;
}

.calendar-display {
    flex: 1;
    text-align: center;
}

.calendar-display img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.btn-custom {
    padding: 10px 20px;
    background-color: #00793A;
    color: #fff;
    border: none;
    margin: 5px 10px;
}

.btn-custom:hover {
    background-color: #00793A;
}


.calendar-turn {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flipbook {
    width: 800px;
    overflow: hidden;
    height: 600px;
}

.flipbook .page {
    width: 100%;
    height: 100%;
    background-color: white;
    background-size: cover;
    background-position: center;
}

.flipbook-wrapper {
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.3s ease;
    display: inline-block;
}

#flipbook {
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.calendar-tools {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-tools button {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
}

.calendar-tools button:hover {
    background-color: #f0f0f0;
}

.calendar-tools i {
    font-size: 20px;
    color: #333;
}



.calendar-turn .nav-buttons {
    margin-top: 20px;
}

.calendar-turn .nav-buttons button {
    padding: 10px 20px;
    margin: 0 15px;
    background-color: #218c3b;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.calendar-turn .nav-buttons button:hover {
    background-color: #18692c;
}


.flipbook {
    margin: auto;
    position: relative;
    transition: transform 0.3s ease;
}

.flipbook.first-centered {
    transform: translateX(-25%);
}

.flipbook.last-centered {
    transform: translateX(25%);
}

.page {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* Media page style */

.media-bg .img1 {
    height: 80vh;
    display: block;
}

.media-bg .img2 {
    display: none;
}

.filter-btn {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 8px 20px;
    margin: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.media-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    transition: all 0.3s ease;
    background: #fff;
}

.media-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-box:hover img {
    transform: scale(1.2);
}

.filter-section h4 {
    font-weight: 700;
    color: #198754;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.popup-overlay .close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
}


/* Video page style */

.video-bg .img1 {
    height: 80vh;
    display: block;
}

.video-bg .img2 {
    display: none;
}

/* Position iframe exactly over the yellow box */
.video-bg {
  position: relative;
}

/* Adjust these percentage values based on your yellow box location */
.video-overlay {
  position: absolute;
  top: 73%;      /* Y-position of yellow box inside image */
  left: 78%;     /* X-position of yellow box inside image */
  width: 22%;    /* Adjust based on yellow box width */
  height: 32%;   /* Adjust based on yellow box height */
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow: hidden;
}

.video-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}
