﻿
/*.carousel-inner {
    min-height: 500px;
}*/

/*.carousel-item > img {
    min-height: 500px;
}*/

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.read-message {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.img-fluid {
    border-radius: 8px;
}

.card-footer {
    background-color: #3781cb;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
}

.card-body p {
    font-size: 1.1rem;
    color: #333;
}

.card-footer a {
    font-size: 1.1rem;
    color: white;
}

.hover-effect:hover .card-footer {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-footer:hover {
    background-color: #233c52;
    color: white !important;
}

.slider-card {
    background-color: white !important;
}

/*.nav-item:hover {
    background-color: white;
    color: black !important;
    border-radius: 7px;
}

.nav-item a:hover {
    background-color: white;
    color: black !important;
    border-radius: 7px;
}*/

.text-reset{
    text-decoration:none;
}

.nav-item a {
    font-size: 15px !important;
}

/*.nav-item .active {
    background-color: white !important;
}

    .nav-item .active:hover {
        background-color: white !important;
    }*/
/*    --------------- Zoom ----------------*/

.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 10px;
}

    .zoom-modal.active {
        display: flex;
    }

    .zoom-modal img {
        max-width: 90%;
        max-height: 90%;
        margin: auto;
    }

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

.footer-card {
    background-color: #2c7f2c !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-radius: 0px !important;
    min-height:50px;
    height:80px;
}

    .footer-card h5 {
        display: flex;
        font-size: 17px;
        justify-content: center;
        align-items: center;
        vertical-align: middle;
        height: 18px;
        margin-top: revert;
    }

.Stucard {
    background: white !important;
    border: 1px solid grey !important;
    min-height: 340px;
}

.overlay-p {
    font-size: 14px;
    color: black;
    text-align: justify;
}

    @media screen and (min-width:1200px) and (max-width:1400px) {
    .footer-card {
        min-height: 50px;
        height: 100px;
    }
    .Stucard {
        min-height: 360px;
    }
}

    @media screen and (min-width:768px) and (max-width:1055px) {
        .footer-card {
            min-height: 50px;
            height: 100px;
        }
        .Stucard {
            min-height: 750px !important;
        }
        .overlay-p {
            font-size: 13px !important;
        }
    }

     @media screen and (min-width:1056px) and (max-width:1199px) {
       .Stucard {
          min-height: 712px !important;
       }
    }

/*     @media screen and (max-width:767px){
        .footer-card {
            background-color: #2c7f2c !important;
            padding-top: 5px !important;
            padding-bottom: 5px !important;
            border-radius: 0px !important;
            min-height: 45px;
            height: 55px;
        }
            .footer-card h5 {
                padding: 4px;
                font-size: 17px;
                box-sizing: border-box;
            }
     }*/

@media screen and (min-width: 768px) and (max-width: 800px) {
    .navhead .logo {
        margin-left: 0px !important;
    }
}


    @media screen and (min-width: 768px) and (max-width: 1318px) {
        .custom-nav {
            width: 30% !important;
        }

        .custom-name {
            font-size: 36px !important;
        }

        .custom-sub {
            margin-right: 14px !important;
        }
    }
    /*@media screen and (min-width:1333px) {
    .footer-card {
        background-color: #2c7f2c !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        border-radius: 0px !important;
    }

        .footer-card h5 {
            padding: 0px;
            margin-top: 5px;
            font-size: 17px;
        }

    .Stucard {
        background: white !important;
        border: 1px solid grey !important;
        min-height: 325px;
    }

    .overlay-p {
        font-size: 14px;
        color: black;
        text-align: justify;
    }
}

    @media screen and (min-width:1200px) and (max-width:1332px) {
        .footer-card {
            background-color: #2c7f2c !important;
            padding-top: 5px !important;
            padding-bottom: 5px !important;
            border-radius: 0px !important;
            min-height: 40px;
            height: 87px;
        }

            .footer-card h5 {
                padding: 0px !important;
                margin-top: 5px !important;
                font-size: 17px !important;
            }

        .Stucard {
            background: white !important;
            border: 1px solid grey !important;
            min-height: 325px !important;
        }

        .overlay-p {
            font-size: 14px !important;
            color: black !important;
            text-align: justify !important;
        }
    }


    @media screen and (min-width:1000px)and (max-width:1199px) {
        .footer-card {
            background-color: #2c7f2c !important;
            padding-top: 5px !important;
            padding-bottom: 5px !important;
            border-radius: 0px !important;
        }

            .footer-card h5 {
                padding: 0px;
                margin-top: 5px;
                font-size: 17px;
            }

        .Stucard {
            background: white !important;
            border: 1px solid grey !important;
            min-height: 682px !important;
        }
    }*/
    /*    --------------- Staff ----------------*/
    .staff {
        position: relative;
        width: 100%;
        max-width: 348px;
        margin: 15px auto;
        border: none;
        border-radius: 0px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        background-color: #f2f1f8;
        color: black;
    }

    .card-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        color: #333;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.5rem;
        transition: transform 0.4s ease-in-out;
        transform: translateX(100%);
        overflow: hidden;
    }

    .card:hover .card-overlay {
        transform: translateX(0);
    }

    .card-footer {
        padding: 1rem;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .navimg {
        width: 100%;
        height: 90px
    }

.navhead .logo {
    height: 176px;
    width: 178px;
    margin-top: 11px;
    margin-left: -48px;
}
@media (min-width: 1900px) {
    .navhead .logo {
        margin-left: -60px;
    }
}
@media screen and (min-width: 768px) and (max-width: 800px) {
    .navhead .logo {
        margin-left: 0px !important;
    }
}
@media screen and (min-width: 801px) and (max-width: 992px) {
    .navhead .logo {
        margin-left: 2px !important;
    }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
    .navhead .logo {
        margin-left: 24px !important;
    }
}
@media screen and (min-width: 1201px) and (max-width: 1317px) {
    .navhead .logo {
        margin-left: 40px !important;
    }
}
    /*    .img-col {
        padding-left: 50px;
    }*/

    @media (min-width:768px) {
        .maincontfluid {
            display: block;
        }

        .Subcontfluid {
            display: none;
        }

        .navhead {
            max-height: 156px !important;
        }

        .img-col {
            z-index: 999 !important;
        }

        .navhead .logo {
            height: 180px;
            width: 180px;
            margin-top: 66px;
        }

        .StuCouncil {
            text-align: left;
        }

        .Stucard {
            margin-left: 10px;
        }
    }

    @media (max-width:575px) {
        .navimg {
            width: 100%;
            height: 65px
        }

        .navhead .logo {
            height: 90px;
            width: 100px;
            margin-top: 8px;
            margin-left: 2px;
        }

        .login {
            padding-bottom: 50px;
        }
    }

    @media (max-width:767px) {
        .maincontfluid {
            display: none;
        }

        .Subcontfluid {
            display: block;
        }

        .StuCouncil {
            text-align: center;
        }

        .navhead .logo {
            margin-left: 4px;
        }
    }



    /*    ---------------------gallery----------------------*/

    @media (min-width:501px) {
        .gallery {
            display: flex;
            /*flex-wrap: wrap;*/
            gap: 10px;
            justify-content: center;
        }
    }

    @media (max-width:500px) {
        .gallery {
            /*display: flex;*/
            /*flex-wrap: wrap;*/
            gap: 10px;
            justify-content: center;
        }
    }

    .gallery a {
        display: block;
        width: 150px;
        height: 150px;
        overflow: hidden;
        border: 2px solid #ccc;
        border-radius: 8px;
        transition: transform 0.3s, border-color 0.3s;
    }

        .gallery a:hover {
            transform: scale(1.04);
            /*border-color: #007bff;*/
        }

    .gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (min-width:768px) {
        .sideCol {
            padding: 0px !important;
            height: 500px;
            background-image: url('../../images/banner1.jpg');
        }

        .sidediv {
            background-color: rgba(0, 0, 0, 0.7);
            height: 500px;
        }

        .sideHead {
            color: white;
            text-align: center;
            padding-top: 200px;
        }
    }

    @media (max-width:767px) {
        .sideCol {
            padding: 0px !important;
            height: 250px;
            background-image: url('../../images/banner1.jpg');
        }

        .sidediv {
            background-color: rgba(0, 0, 0, 0.5);
            height: 250px;
        }

        .sideHead {
            color: white;
            text-align: center;
            padding-top: 100px;
        }
        .custom-col-img .col-md-6{
            max-width: 88% !important;
        }
    }

    .thumbnail {
        cursor: pointer;
    }

        .res-icons{
            margin-top: 20px;
        }
    /*    ---------------------gallery----------------------*/
