@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

.register-area {
    background-image: url('../../assets/images/admission_background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.register-area:after {
    background: rgb(0 0 0 / 71%) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.account-form {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 4px;
    margin: 64px 0 62px 0px;
    position: relative;
    z-index: 9;
}

.register-title {
    background: #00306e none repeat scroll 0 0;
    border-radius: 3px 3px 0 0;
    padding: 15px 0px 10px 15px;
}

.register-title h4 {
    margin-bottom: 0px;
    color: #fff;
}

.account-form .form {
    margin: 42px 54px 0;
    padding-bottom: 40px;
}

.register-info {
    padding: 99px 0 97px 0;
    position: relative;
    z-index: 9;
}

.register-info h4 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 17px;
}

.register-info h4 span {
    color: #1e91eb;
}

.register-info>h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 32px;
}

.toppers-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toppers-card img {
    border-radius: 10px;
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.courses-section-six .course-card .status {
    padding: 0px 0 5px 0px !important;
    text-align: center;
}

.courses-section-six {
    text-align: center;
}

.name {
    color: #00306e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
}

.students {
    color: #4d5765;
    text-align: center;
    margin-bottom: 0px;
    border-bottom: 1px solid #4d5765;
}

.learn-details {
    color: #4d5765;
    text-align: center;
    margin-bottom: 0px;
}

.bg-gray {
    background-color: #F0F0F0 !important;
}

.course-card {
    background: #fff;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

.card-image {
    padding: 10px;
}

.courses-section-six .course-card .card-image img {
    border-radius: 10px;
}

.react-header {
    box-shadow: 0px 0px 10px 0px #a9a9a9;
}

.director_message .about__image img {
    width: 100%;
    border-radius: 10px;
}

/* Photo-gallery section css start */

.section-gallery {
    background: linear-gradient(45deg, #d6ecfd75, #ec1d211c);
    padding: 25px;
}

.gallery-card {
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: white;
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #cfcbcb;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, border-radius 0.8s ease;
    /* Smooth transitions */
    border-radius: 0px 0px 30px 0px;

    /* default */
}

.gallery-card:hover img {
    /* transform: scale(1.05); */
    border-radius: 0px 0px 0px 30px;
}

.gallery-caption {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e2a5a;
}

.gallery-caption .count {
    font-weight: normal;
    font-size: 0.9rem;
    color: #444;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-card:hover .count {
    opacity: 1;
    transform: translateX(0);
    color: #ec1d21;

}

.title {
    text-transform: capitalize;
}

.gallery-h {
    color: #ec1d21;
    text-transform: capitalize;
    text-align: center;
    font-weight: 600;
    padding: 10px;

}

/* gallery detail section */
#gallery {
    padding-top: 40px;
}

@media screen and (min-width: 991px) {
    #gallery {
        padding: 60px 30px 0 30px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.img-wrapper {
    position: relative;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

@media (max-width: 991.98px) {
    .img-wrapper img {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .img-wrapper img {
        height: 150px;
    }
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    color: white;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);

}

.img-wrapper:hover .img-overlay {
    opacity: 1;
    cursor: zoom-in;
}

/* Optional: Lightbox overlay styling if you're not using bs5-lightbox */
#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    user-select: none;
}

#overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
}

@media screen and (min-width: 768px) {
    #overlay img {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {
    #overlay img {
        width: 50%;
    }
}

/* Optional Lightbox controls */
#nextButton,
#prevButton,
#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

#nextButton:hover,
#prevButton:hover,
#exitButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {

    #nextButton,
    #prevButton,
    #exitButton {
        font-size: 3em;
    }
}

#exitButton {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Admission Procedure css */
section h4 {
    border-bottom: 2px solid #ec1d21;
    font-family: 'Source Sans Pro';
}

.procedure-h {
    font-weight: 600;
    color: #ec1d21;
}

.fw-medium {
    font-weight: 500;
}

.admission-icon i {
    color: #ec1d21;
    font-size: 38px;
    padding: inherit;
}

.custom-table tbody tr:hover {
    background-color: #e6f3ff !important;
    /* Light blue */
    transition: background-color 0.3s ease;
}

/* acadamic css*/

.card-hover:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    transition: all 0.3s ease-in-out;
}

.academic-section h2 {
    font-family: 'Source Sans Pro';
    font-size: 25px;
    color: #ec1d21;
}

.academic-section p {
    font-family: 'Source Sans Pro';
}

.academic-h {
    font-family: 'Source Sans Pro';
    font-size: 18px;
    font-weight: 600;
    color: #ec1d21;
}

.Primary-h {
    font-family: 'Source Sans Pro';
    font-size: 35px;
    font-weight: 700;
}

.primary-2 {
    background-color: rgb(182, 179, 177);
    padding: 25px;
}

.primary-2 h1 {
    color: #444;
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 600;
}

.primary-event {
    background-color: #f7d67c;
    padding: 40px;
}

.primary-event h2 {
    font-size: 35px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}
.wing-img{
    padding: 5px;
    background-color: #fff;
}
.primary-event h6{
    padding: 10px;
    text-align: center;
    text-transform: capitalize;
    font-size: 20px;
}
.Primary-section p{
    text-transform: capitalize;
}

/* media gallery css  custom me lagana hai*/ 
.media-section {
    padding: 10px;
}

/* toppers css */
.toppers {
    padding: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.topper-p{
    text-align: center;
    margin-bottom: 0px;
     color: #00306e;
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    
}

.blogSlider-uk .card-inner {
    padding: 0px 0px !important;
}
.topper-section h3 {
    text-transform: capitalize;
    text-align: center;
    font-weight: 700;
}


/* infrastructure css */

.infra {
    padding: 5px;
    /* background: #1e91eb; */
    border-radius: 5px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}

.infra-name {
    margin-bottom: auto;
    padding: 10px;
    font-weight: 600;
    border-bottom: 2px solid #ec1d21;
    text-align: center;
    text-transform: uppercase;
}

.infra-detail {
    text-align: -webkit-center;
    padding: 5px 5px 2px 5px;
    ;
}

.infra-img img {
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.6s ease;
    transform: scale(1);

    will-change: transform, filter;
}

.infra-img:hover img {
    transform: scale(1.010);
    cursor: pointer;
}

.branch {
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.branch-img {
    padding: 5px;
}

.branch-name {
    padding: 13px;
    color: #1e91eb;
    text-align: center;
    font-size: 17px;
   
}
.our-branches h3{
    font-weight: 700;
    text-align: center;
}
i.fa.fa-map {
    font-size: 20px;
}

.h4_heading {
    font-weight: 800;
    color: #ec1d21;
    margin-bottom: 5px; 
    margin-top: 15px;
}
.s{
    color: #1e91eb;
}