﻿.homeSwiper {
    width: 100%;
    height: 400px;
}

.slider-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}



.gallery-main-img {
    object-fit: cover;
    cursor: pointer;
}

.gallery-group-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    cursor: pointer;
}

.group-header {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
}

.back-btn {
    margin-bottom: 20px;
}
.main-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.gallery-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.main-image-link:hover .gallery-main-img {
    transform: scale(1.05);
}
.img-fluid {
    max-width: 100%;
    height: none;
}
.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10; /* ensure above the image */
    background: rgba(0,0,0,0.6); /* semi-transparent black */
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    display: block;
    box-sizing: border-box;
}

.main-image-link:hover .caption-overlay {
    background: rgba(0,0,0,0.8);
}


/*tt*/
.skips {
    background: LIGHTGOLDENRODYELLOW !important;
    border-bottom: 1px solid #eeeeee;
}

.carousel-item img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}
.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
    border: 2px solid greenyellow;
    border-radius: 7px;
}
.submenu li a {
    text-decoration: none;
}
.mg-headwidget .navbar-wp .navbar-nav > li > a,
.mg-headwidget .navbar-wp .navbar-nav > li > a:hover,
.mg-headwidget .navbar-wp .navbar-nav > li > a:focus,
.mg-headwidget .navbar-wp .navbar-nav > li > a:active {
    text-decoration: none !important;
}
.navbar-wp .dropdown-menu > li > a {
    text-decoration: none !important;
}
.carousel-control-prev,
.carousel-control-next,
.carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-control-prev:active,
.carousel-control-next:active {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    /* background-color: #fff; */
    background-clip: padding-box;
    border: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

body {
    font-family: 'Work Sans','sans-serif';
    margin: 7px;
    line-height: 1.6;
}

.mg-latest-news .mg-latest-news-slider a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-left: 20px;
}

.item h4 {
    color: white;
    background: linear-gradient(to bottom,rgba(0,0,0,0) 0, rgba(0,0,0,0.4) 50%, rgba(0,0,0,.5) 100%)
}



.sls img {
    border: 1px solid white;
    border-radius: 10px
}

.mg-fea-area .overlay {
    padding: 5px 0 0;
    margin: 0;
}
/*about*/


.about-section {
    background: linear-gradient(90deg, rgb(212 221 233), rgb(139, 195, 74));
    color: lightskyblue
}

.about-text {
    color: #21232f;
}

.about-heading {
    color: #21232f;
}

.justify-text {
    text-align: justify;
}

.official-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.official-name {
    color: #811f1f;
}

.official-designation {
    color: #2b2626;
    font-size: 14px;
}
/*pub*/


/* Publications Section */
.publications-section {
    background: #EEE3CE;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #fff;
}

/* Publications Title */
.publications-title {
    text-align: center;
    color: #fff;
}

.publications-heading {
    color: red;
    margin: 0;
}






/* General body styling */
body {
    font-family: 'Work Sans','sans-serif';
    margin: 0;
    line-height: 1.6;
    background-color: #dbe5dc;
    color: #333;
}

/* Headings */
h3, h4, h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Blue section title */
.section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 20px;
}

/* Cards for photo gallery, events, officials */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    /* Images in card */
    .card img {
        width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

/* Officials section */
.mins img {
    border-radius: 50%;
    border: none;
    transition: transform 0.3s;
}

    .mins img:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

/* Carousel / Swiper */
.swiper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.swiper-slide img {
    object-fit: cover;
}

/* Modal Styling */
.modal-content {
    border-radius: 12px;
    padding: 20px;
}

.modal-body .row {
    margin-bottom: 10px;
}

/* Buttons */
.btn-default, .btn-close {
    border-radius: 6px;
    transition: 0.3s;
}

    .btn-default:hover {
        background: #0d6efd;
        color: #fff;
    }

/* Gradient header */
.header-gradient {
    background: linear-gradient(to right, #3e67a1, #0d9488);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px 12px 0 0;
}

/* Publication cards */
.mg-blog-post-3 {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .mg-blog-post-3:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* Swiper captions */
.caption, .D {
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: 500;
    padding: 8px;
    border-radius: 6px;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

/* Responsive spacing */
@media (max-width: 992px) {
    .slider-row {
        flex-direction: column;
    }

    .slider-container {
        max-width: 100%;
        height: 400px;
    }
}

h1.elementor-heading-title {
    padding: 4px;
    line-height: 1.5;
    font-size: 26px;
    color: #fff;
    /* border-bottom: 2px dashed #c08e4b; */
    background-color: #974414;
    text-align: center !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.05em;
    line-height: 1.3;
    margin: 0 0 1rem;
}



.mg-blog-post.lg {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-left: 0;
    margin-right: 1px;
    background-color: #000;
}

.mg-blog-post {
    height: 400px;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 8s ease-in-out infinite;
}

/* Zoom Animation */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}




.section-block-template--22236435054890__16328142266b504c78 .halo-block-header {
    margin-bottom: 14px;
}

.center, .text-center {
    text-align: center;
}

.halo-block-header {
    position: relative;
    margin: 0 0 30px;
}





.mins img {
    border-radius: 50%;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.mi {
    font-size: 18px;
    font-weight: 600;
}


.gal .owl-carousel .item:hover {
    transition: transform 0.5s;
    cursor: zoom-in
}

.gal img :hover {
    cursor: zoom-in
}

.WEL {
    font-family: 'Fraunces', serif;
    padding: 4px;
    line-height: 1.5;
    font-size: 26px;
    color: #fff;
    /* border-bottom: 2px dashed #c08e4b; */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://asi.nic.in/images/home_bg1.jpg');
    text-align: center !important;
    text-transform: uppercase
}




.mb-1, .my-1 {
    margin-bottom: 0rem;
}

.mt-1, .my-1 {
    margin-top: auto;
}









.top-right-area .nav-tabs > li > a {
    color: white;
    background-color: #0054b4;
    border-color: #eee;
    border-bottom-color: #1151d3;
}

.mg-wid-title {
    background: brown;
    border-left: 1px solid #c7c7c7;
    border-right: 1px solid #c7c7c7;
    border-bottom: 5px solid #f95c39;
}




.swiper {
    height: 500px;;
    margin: 2px auto;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    text-align: center;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 18px;
    padding: 10px;
}


/* Container for the two sliders */
.slider-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

/* Each slider takes about half width */
.slider-container {
    flex: 1 1 45%;
    max-width: 600px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ce {
    text-align: center;
    margin: auto
}



.gallery h2 {
    font-weight: 700;
}

.MultiCarousel {
    float: left;
    overflow: hidden;
    padding: 15px;
    width: 100%;
    position: relative;
}

.MultiCarousel-inner {
    transition: 0.5s ease all;
    float: left;
}

.MultiCarousel .item {
    float: left;
}

.MultiCarousel .leftLst,
.MultiCarousel .rightLst {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 10;
}

.MultiCarousel .leftLst {
    left: 0;
}

.MultiCarousel .rightLst {
    right: 0;
}





.gallery-main-img {
    object-fit: cover;
    cursor: pointer;
}

.gallery-group-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    cursor: pointer;
}

.group-header {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
}

.back-btn {
    margin-bottom: 20px;
}



.main-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.gallery-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.main-image-link:hover .gallery-main-img {
    transform: scale(1.05);
}

.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10; /* ensure above the image */
    background: rgba(0,0,0,0.6); /* semi-transparent black */
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    display: block;
    box-sizing: border-box;
}

.main-image-link:hover .caption-overlay {
    background: rgba(0,0,0,0.8);
}




.fc .fc-daygrid-day-number {
    padding: 4px;
    position: relative;
    z-index: 4;
    padding-right: 15px;
}


