:root {
    --bg-color: #b20000;
    /* --bg-color: #162e7b; */
    --text-color: #f5f5f5;
    --accent-color: #4f46e5;
    --highlight-color: #c084fc;
    --light-blue: #dce9f5;
    --light-mild: #e8dfca;
    --main-bg: #b20000;
    /* --main-bg: #162e7b; */
    --text-light: #f8f9fa;
    --heading: #162e7b;
}


.nss-header{
    background-color:var(--bg-color);
}

.color-section {
    background-color: var(--light-blue);
}

.web-bg {
    background-color: #b20000;
    /* background-color: #162e7b; */
    /* background-color: #19183b; */
}
.heading-color {
    color: #b20000;
    /* color: #162e7b; */
}

.navbar-toggler {
    border: none; /* optional: remove border */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* optional: change background on hover */
.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.tcdownload-card{
    background-color: #ECF4E8;
}


 .below-slider {
    height: 50px;
}

.below-slider-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    overflow: hidden;
}

.below-slider-strip .btn-white {
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 14px;
}



.below-slider-right {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}



.running-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 12s linear infinite;
    cursor: pointer;
}



.running-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.running-text a:hover {
    color: #ffc107;
}

.below-slider-right:hover .running-text {
    animation-play-state: paused;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}




.text-justify {
    text-align: justify;
}

.about-read-more {
    transition: all 0.5s;
    color: var(--text-color);
}
.about-read-more:hover {
    border: 1px solid var(--bg-color);
    color: var(--bg-color);
    transform: scale(1.1);
}


.notice-board {
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 5px var(--bg-color);
}

.notice-link {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 6px;
}

.notice-link:last-child {
    border: none;
}

.notice-link:hover {
    color: var(--main-bg);
    background-color: rgba(25, 24, 59, 0.05);
    border-radius: 6px;
    padding-left: 6px;
}

.notice-link strong {
    color: var(--main-bg);
}

/*  management section cutom css start here  */
.management-section {
    background-color: var(--light-blue);
}

.team-card {
    transition: all 0.3s ease;
    background-color: #fff;
    border-radius: 10px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(25, 24, 59, 0.15);
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--main-bg);
    margin: 20px auto;
}

.heading-color {
    color: var(--main-bg);
}

.facility-card {
    border-radius: 12px;
    background-color: var(--light-mild);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 15px rgba(25, 24, 59, 0.15);
}

.icon-circle {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--main-bg);
    color: #fff;
    font-size: 28px;
    margin: 0 auto;
}

.heading-color {
    color: var(--main-bg);
}

/* css for counter section ......................................................... */

.counter-section {
    background: linear-gradient(90deg, #19183b, #b20000);
    /* background: linear-gradient(90deg, #19183b, #2b2a65); */
}

.counter-box {
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: scale(1.05);
}

.counter-box i {
    color: #ffd700; /* golden icon color */
}

.counter-box h2 {
    font-size: 2rem;
}

.counter-box p {
    font-size: 1rem;
    opacity: 0.9;
}

/*  css for events and gallery section  */

.events-gallery {
    background-color: #f9f9f9;
}

.event-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.event-card img {
    transition: transform 0.5s ease;
}

.event-card:hover img {
    transform: scale(1.1);
}

.event-title-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    box-shadow: inset 0 60px 60px -60px rgba(181, 200, 252, 0.8);
    z-index: 2;
}

.event-title {
    color: var(--heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.event-card:hover .event-title {
    color: var(--text-light);
}
.event-card:hover .overlay {
    transform: translateY(0);
}

.view-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.event-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

/*  css for testimonials section end  ............................................................................................. */

.testimonials-section {
    background: var(--light-blue);
    color: #fff;
}

.testimonial-card {
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-img img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #fff;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-img img {
    transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000;
    border-radius: 50%;
    padding: 15px;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

/*  gallery css ..................................................................................................... */

.session-scroll {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}

.session-scroll::-webkit-scrollbar {
    height: 6px;
}

.session-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.session-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Make sure buttons don’t wrap */
.session-scroll .btn {
    flex: 0 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* 🔹 Event name below image */
.event-name {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    font-size: 15px;
}

/* 🔹 Active button */
.btn.active {
    background-color: #0d6efd;
    color: #fff;
}

/* 🔹 Smooth fade transition */
#gallery-container {
    transition: opacity 0.4s ease;
}

@media (max-width: 767px) {
    .btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .event-name {
        font-size: 14px;
    }
}

/*  breadcrumb  ke liye css   .......................................................................... */

.gallery-section {
    background-color: #f8f9fa;
}

.gallery-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.breadcrumb-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.breadcrumb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    z-index: 1;
    transform: scale(1.05);
}

.breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgb(178, 0, 0, 0.95) 55%,
        rgb(178, 0, 0, 0.4) 80%,
     

        /* rgba(10, 30, 80, 0.95) 55%,
        rgba(10, 30, 80, 0.4) 80%, */
        transparent 100%
    );
    z-index: 2;
}

.breadcrumb-banner h1,
.breadcrumb-banner .breadcrumb {
    position: relative;
    z-index: 3;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff !important;
}

/* 🔹 Responsive */
@media (max-width: 767px) {
    .breadcrumb-banner {
        height: 180px;
        text-align: center;
    }

    .breadcrumb-overlay {
        background:  rgb(178, 0, 0, 0.95) 55%;
    }
}

/* career page css ........................................................................................... */

.job-card {
    background-color: var(--light-blue);
    transition: all 0.3s ease;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.job-card-btn {
    background-color: var(--bg-color);
    border: none;
}
.job-card-btn:hover {
    background-color: var(--highlight-color);
}

/* css for footer section ....................................................................................................... */

/* ---------- FOOTER ---------- */
.footer {
    background: linear-gradient(180deg, var(--bg-color), #1c1c1c);
    color: #fff;
    padding: 60px 10%;
    font-family: "Poppins", sans-serif;
    position: relative;
}

@media(max-width:992px){
    .footer {
    padding: 60px 4%;
}
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h3,
.footer h4 {
    color: #ffd36b;
    margin-bottom: 15px;
}

.footer p {
    color: #d3d3d3;
    line-height: 1.6;
    font-size: 14px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #ffd36b;
}

.footer-logo {
    max-width: 300px;
    margin-bottom: 10px;
}

.footer-socials a {
    color: #fff;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: #ffd36b;
    color: #000;
}

.footer-buttons .btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-buttons .brochure {
    background: #fff;
    color: #000;
}

.footer-buttons .donate {
    background: #ffd36b;
    color: #000;
}

.footer-buttons .btn:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: #aaa;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #077fcb, #d39c0e);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 9999;
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #d39c0e, #077fcb);
}

.hover-shadow:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.hover-shadow:hover img {
    filter: brightness(0.9);
}
