﻿
/*NavBar*/
@media (max-width: 991.98px) {
    #mainNavbar .navbar-nav {
        flex-direction: column;
        align-items: start;
        background-color: rgba(0, 0, 0, 0.7);
        /* optional for contrast */
        padding: 10px;
    }

    #mainNavbar .btn-danger {
        font-size: 1.1rem;
        padding: 2px 10px;
    }

    #mainNavbar .nav-link {
        padding: 0.5rem 1rem;
        width: 100%;
    }

    /* Fix for dropdown items in mobile */
    #mainNavbar .dropdown-menu {
        position: static;
        float: none;
        background-color: #fff;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    #mainNavbar .dropdown-item {
        color: #000;
    }
}

/*topbar*/
.topbarlefttext {
    font-size: 10px !important;
    cursor: pointer !important;
    padding: 5px 10px !important;
   text-decoration: none !important;
}
/*Master Image*/
.custom-carousel {
    position: relative;
    width: 100%;
}

    .custom-carousel img {
        height: 15rem;
        object-fit: cover;
        width: 100%;
    }

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgb(229, 225, 224);
    border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.slideImage {
    height: 27rem !important;
    border-radius: 10px;
}





/* Social Media Icon */
.socialmedia {
    display: inline-block;
    font-size: 20px;
    /* Icon size */
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .socialmedia:hover {
        transform: scale(1.1);
    }


.footer_menu_text {
    margin-inline: 3rem !important; /* mx-5 */
    padding-inline: 3rem !important; /* px-5 */
}

.footerItem {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .footerItem:hover {
        transform: scale(1.2);
        color: khaki !important;
    }

.ImportantLinks {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .ImportantLinks:hover {
        transform: scale(2.2);
        color: rgb(133, 20, 50) !important;
    }
/*Navintam press vigyapit*/
.section-title {
    background: linear-gradient(to right, rgb(150, 0, 0), #fbb034);
    color: white;
    padding: 10px !important;
    font-size: 01rem !important;
    font-weight: bold;
    text-align: center;
}


.press-section-title {
    font-size: 2.2rem;
    font-weight: bold;
    border-bottom: 6px solid #e84d4f;
    padding-bottom: 10px;
    margin-top: 30px;
    /* position: relative; */
}

.more-link {
    color: red;
    font-weight: bold;
    /* position: absolute; */
    right: 0;
    bottom: 10px;
    font-size: 1rem;
    text-decoration: none;
}

.news-box {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.side-button {
    background-color: #1f7f73;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
}

.blue-button {
    background-color: #0f549e;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
}

/*navigation */
.nv-carousel-card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease;

}

    .nv-carousel-card:hover {
        transform: translateY(-5px);
    }

.nv-carousel-header {
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nv-carousel-body {
    padding: 15px;
}

.nv-carousel-img {
    height: 300px;
    width: 285px;
/*    width: 100%;
    height: 160px;*/
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    transition: opacity 0.5s ease;
}
/**/
.bg-blue {
    background-color: #4285F4;
}

.bg-sky {
    background-color: #42A5F5;
}

.bg-green {
    background-color: #34A853;
}


.nv-carousel {
    position: relative;
}

.nv-carousel-prev-icon,
.nv-carousel-next-icon {
    background-color: #b35400;
    border-radius: 50%;
    padding: 20px;
}

.nv-carousel-prev,
.nv-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.nv-carousel-prev,
.nv-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-indicators [data-bs-target] {
    background-color: #6c63ff;
}

/*Photo section*/



/* Socia Media section*/
.social-box-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    height: 600px;
    overflow: hidden;
    position: relative;
}

    .social-box-wrapper h2 {
        font-size: 20px;
        font-weight: 600;
        border-bottom: 1px solid red;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

.details iframe,
.fb-post {
    width: 100%;
    height: 500px;
    border: none;
}

.more {
    text-align: center;
    margin-top: 10px;
}

    .more a {
        background: #e74c3c;
        color: white;
        padding: 6px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
    }


@media screen and (max-width: 768px) {
    /*topbar*/
    .topbarlefttext {
        font-size: 8px !important;
        cursor: pointer !important;
        padding: 5px 5px !important;
        text-decoration: none !important;
    }


    .social-box-wrapper {
        height: auto;
    }

    .details iframe,
    .fb-post {
        height: 350px;
    }
 

    #cardCarousel .d-flex {
        grid-template-columns: repeat(3, 1fr);
        height: 6.5rem !important;
        width:20rem !important;

    
    }
    .nv-carousel-img {
        height: 6.5rem !important;
        width: 20rem !important;
        /*      width: 100%;
    height: 160px;*/
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        transition: opacity 0.5s ease;
    } 
    .nv-carousel-card {
        
        padding: 3px !important;
    }
    .slideImage {
        height: 14rem !important;
        border-radius: 10px;
    }
/*    .carousel-caption {
        background: rgba(0, 0, 0, 0.5);
        bottom: 0.25rem;
        left: 0;
        right: 0;
        padding: 0.25rem;
        color: #fff;
        font-size: 0.85rem;
        border-radius: 5px;
    }*/


    .carousel-caption {
        background: rgba(0, 0, 0, 0.5);
        position: absolute;
        right: 7% !important;
        bottom: 0.25rem !important;
        left: 15%;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        text-align: center !important;
        color: #fff;
        font-size: 0.85rem !important;
        border-radius: 5px;
    }

    .footer_menu_text {
        margin-inline: 0rem !important; /* mx-5 */
        padding-inline: 0rem !important; /* px-5 */
    }

    }

/* .carousel-inner {
    padding: 20px 0;
}

.carousel-item>.row {
    justify-content: center;
}

.carousel-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    text-align: center;
    height: 100%;
}

.carousel-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
} */

/* Show only 1 column in mobile, 2 in tablet, 3 in desktop */
/* @media (min-width: 768px) {
    .carousel-col {
        flex: 0 0 auto;
        width: 33.33%;
    }
}

@media (max-width: 767.98px) {
    .carousel-col {
        flex: 0 0 auto;
        width: 80%;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
} */
