﻿

/*Scrolling Text */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: #f8f9fa;
    padding: 10px 0;
    position: relative;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-weight: bold;
    font-size: 1.2rem;
    color: #d63384;
    text-decoration: none;
}

    .marquee-text:hover {
        animation-play-state: paused;
        color: #a61e4d;
    }

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.activity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .activity-card:hover {
        transform: translateY(-10px) scale(1.02);
    }

.activity-image {
    object-fit: cover;
    height: 200px;
}

.activity-card .card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .activity-card .card:hover {
        transform: scale(1.02);
    }
/*---------------------------------------*/
/*Collage of images */

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 10px;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

    .collage-img:hover {
        transform: scale(1.05);
    }

@media (max-width: 576px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
}
/*---------------------------------------*/

.heroPadding {
    padding: 80px 0 0 0;
}

/*Links section*/
/*------------------------------------------*/
.links {
    max-width: 150px;
    padding-bottom: 20px;
    border-radius: 10px;
}


/*Banner Captions*/
/*------------------------------------------*/
.custom-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 20px;
    font-size: 1rem;
    animation: fadeIn 1.5s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item {
    position: relative;
}

.custom-caption h5,
.custom-caption p {
    margin: 0;
    line-height: 1.3;
}

.banner-img {
    width: 100%;
    height: 450px; /* or any fixed height you prefer */
    /*max-height: 80vh;*/
    object-fit: cover;
}

/*News Section*/
/*---------------------------------------*/
.card-header a.btn:hover {
    background-color: #e7f1ff;
    text-decoration: none;
}

.news-ticker {
    height: 250px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ccc;
    background: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.ticker-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scroll-up 20s linear infinite;
    animation-play-state: running;
}
.news-ticker:hover .ticker-list {
    animation-play-state: paused;
}
.ticker-list li {
    list-style: none;
    padding: 0.25rem 0;
    color: #333;
   /* white-space: nowrap;*/
}
@keyframes scroll-up {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}


/* Individual news item styling */
.news-item {
    transition: background-color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

    .news-item:last-child {
        border-bottom: none;
    }

    .news-item:hover {
        background-color: #f8f9fa;
        border-radius: 0.5rem;
    }

.news-title {
    font-weight: 500;
    line-height: 1.4;
}

.ViewMore {
    color: var(--accent-color);
}

/* .news-title:hover {
        text-decoration: underline;
        color: #0d6efd;
    }*/

/* Gradient fade mask for elegance */
/*.fade-top,
.fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}

.fade-top {
    top: 0;
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0));
}

.fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
}
*/
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding-top: 60px;
    /* padding-bottom: 60px;*/
}

    .about .display-6 {
        line-height: 1.2;
    }

        .about .display-6 span {
            position: relative;
            color: var(--accent-color);
        }

            .about .display-6 span:after {
                content: "";
                position: absolute;
                width: 100%;
                height: 10px;
                background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                left: 0;
                bottom: 5px;
                z-index: -1;
            }

    .about .lead {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-size: 1.125rem;
    }

    .about .stat-box {
        display: flex;
        flex-direction: column;
        background-color: var(--surface-color);
        padding: 1rem 1.5rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        min-width: 110px;
        border-bottom: 3px solid var(--accent-color);
        transition: transform 0.3s ease;
    }

        .about .stat-box:hover {
            transform: translateY(-5px);
        }

        .about .stat-box .stat-number {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
            color: var(--heading-color);
        }

        .about .stat-box .stat-label {
            font-size: 0.875rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 5px;
        }

    .about .signature-block {
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
        padding-top: 1.5rem;
    }

        .about .signature-block img {
            transition: transform 0.3s ease;
        }

            .about .signature-block img:hover {
                transform: scale(1.05);
            }

    .about .image-stack {
        position: relative;
        height: 500px;
    }

@media (max-width: 992px) {
    .about .image-stack {
        height: 400px;
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .about .image-stack {
        height: 350px;
    }
}

.about .image-stack .image-stack-item {
    position: absolute;
    width: 80%;
    height: auto;
    transition: transform 0.5s ease;
}

    .about .image-stack .image-stack-item:hover {
        transform: translateY(-10px);
    }

    .about .image-stack .image-stack-item img {
        object-fit: cover;
        width: 100%;
    }

.about .image-stack .image-stack-item-top {
    z-index: 1;
    top: 0;
    left: 0;
}

.about .image-stack .image-stack-item-bottom {
    z-index: 2;
    bottom: 0;
    right: 0;
}

.about .mission-vision-row {
    margin-top: 2rem;
}

    .about .mission-vision-row .value-card {
        background-color: var(--surface-color);
        border-radius: 15px;
        padding: 2rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

        .about .mission-vision-row .value-card:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
            transition: height 0.5s ease;
            z-index: -1;
        }

        .about .mission-vision-row .value-card:hover {
            transform: translateY(-10px);
        }

            .about .mission-vision-row .value-card:hover:before {
                height: 100%;
            }

            .about .mission-vision-row .value-card:hover .card-icon {
                background-color: var(--accent-color);
            }

                .about .mission-vision-row .value-card:hover .card-icon i {
                    color: var(--contrast-color);
                }

        .about .mission-vision-row .value-card .card-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            border-radius: 50%;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

            .about .mission-vision-row .value-card .card-icon i {
                font-size: 1.75rem;
                color: var(--accent-color);
                transition: color 0.3s ease;
            }

        .about .mission-vision-row .value-card h3 {
            margin-bottom: 1rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--heading-color);
        }

        .about .mission-vision-row .value-card p {
            margin-bottom: 0;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
        }





/*Important Links*/
/*---------------------------------------*/
importantLinks {
    height: 300px;
    padding:10px 10px 10px 10px;
    /*position: relative;*/
}

important-Icons {
   /* padding: 1rem 1.5rem;*/
    /*    display: flex;
    flex-direction: column;
    background-color: var(--surface-color);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 110px;
    border-bottom: 3px solid var(--accent-color);
    transition: transform 0.3s ease;*/
    /* height: 100px;
    width: 100px;*/
}

.icon-img {
    height: 50px;
}
.icon-btn {
    /*margin: 20px 20px;*/
    width: 100%;
    height: 100px;
    background-color: #f0f4ff;
    border-radius: 1rem;
    padding: 10px 10px 10px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
    .icon-btn:hover {
        background-color: #e2ecff;
        transform: translateY(-2px);
        text-decoration: none;
    }

    .icon-btn .icon {
        color: black;
    }

    .icon-btn .label {
        color: black;
    }







/*Principal Section*/
/*---------------------------------------*/
.MaxImageWidth {
    max-width: 200px;
}


/*Toopers List*/
/*---------------------------------------*/
.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

.scroll-content {
    display: flex;
    gap: 20px;
    animation: scroll-left 10s linear infinite;
}

.student {
    flex: 0 0 auto;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}

    .student img {
        width: 150px;
        height: 150px;
        border-radius: 5%;
    }

    .student:hover {
        transform: scale(1.2);
        animation-play-state: paused;
    }

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* Adjusted so it keeps looping */
}
