﻿.carousel-caption h5,
.carousel-caption p {
    color: #ffffff; /* white text */
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.6);  optional shadow for better contrast */
    font-size: 28px;
    font-weight: 500;
}


@media (min-width: 1500px) {
    #carouselExampleCaptions .carousel-item img {
        height: 750px;
        /*object-fit: contain;*/ /* ✅ shows full image */
        background: #000; /* optional: fills empty space */
    }
}


.team-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.team-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
}

.team-item {
    flex: 0 0 calc(33.333% - 13.33px);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    /* Hover */
    .team-item:hover {
        transform: translateY(-5px);
    }

/* Tablet */
@media (max-width: 992px) {
    .team-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .team-item {
        flex: 0 0 100%;
    }
}


.gradient-modal-header {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #fff;
}

    .gradient-modal-header .modal-title {
        color: #fff !important;
    }

    .gradient-modal-header .btn-close {
        filter: none;
        opacity: 0.7;
    }


.news-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.news-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
}

.news-item {
    flex: 0 0 calc(33.333% - 13.33px);
}

/* Tablet */
@media (max-width: 992px) {
    .news-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .news-item {
        flex: 0 0 100%;
    }
}

.events-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.events-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
}

.events-item {
    flex: 0 0 calc(33.333% - 13.33px);
}

/* Tablet */
@media (max-width: 992px) {
    .events-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .events-item {
        flex: 0 0 100%;
    }
}

.events-scroll .card {
    height: 100%;
    border-radius: 12px;
}

.events-scroll .card-img-top {
    width: 100%; /* ✅ full width */
    height: 300px; /* ✅ fixed height (adjust if needed) */
    object-fit: contain; /* ✅ BEST for equal size (fills + crops) */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.events-scroll .card-body {
    display: flex;
    flex-direction: column;
    height: 220px; /* FIX BODY HEIGHT */
}

.events-scroll .card-title {
    font-size: 16px;
    font-weight: 600;
}

.events-scroll .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* show only 3 lines */
    -webkit-box-orient: vertical;
}

/* NEWS CARD SAME AS EVENTS */

.news-scroll .card {
    height: 100%;
    border-radius: 12px;
}

.news-scroll .card-img-top {
    width: 100%; /* ✅ full width */
    height: 300px; /* ✅ fixed height (adjust if needed) */
    object-fit: contain; /* ✅ BEST for equal size (fills + crops) */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.news-scroll .card-body {
    display: flex;
    flex-direction: column;
    height: 220px; /* SAME BODY HEIGHT */
}

.news-scroll .card-title {
    font-size: 16px;
    font-weight: 600;
}

.news-scroll .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* SAME AS EVENTS */
    -webkit-box-orient: vertical;
}



/* Container spacing */
.award-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0 20px 0; /* top & bottom margin feel */
}

/* Track */
.award-track {
    display: flex;
    gap: 25px;
    width: max-content;
    align-items: stretch;
    animation: scrollAwards 30s linear infinite;
}

/* Pause on hover */
.award-marquee:hover .award-track {
    animation-play-state: paused;
}

/* Smooth scroll */
@keyframes scrollAwards {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Card */
.award-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 380px;
    max-width: 420px;
    padding: 25px 30px;
    margin: 5px 0; /* TOP/BOTTOM spacing inside card row */

    border: 2px solid #d6dbe0;
    border-radius: 18px;
    background: #f8f9fa;
    transition: 0.3s ease;
}

    /* Hover */
    .award-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

/* Icon */
.award-icon {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

/* Text */
.award-card h5 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

/* Controls */
.award-controls button {
    border-radius: 8px;
    margin-left: 5px;
}