:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*****  *****/
.img-banner {
    width: 100%;
    height: 600px;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


nav .nav-img img {
    width: 100%;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #7B1B05;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 85px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
    z-index: unset;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #691702;
    border-color: #691702;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/banner/breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/* *** bg-theme *** */

.bg-theme1 {
    background: linear-gradient(to bottom, rgb(0 0 0 / 60%), rgb(0 0 0 / 85%)), url(../images/banner/bg-theme-1.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.txt-white {
    color: #fff;
}

.social-work-img {
    text-align: center;
}

.social-work-img img {
    width: 85%;
}

.ngo-img {
    text-align: center;
}

.dark-blue {
    color: #181d38;
    font-weight: 700;
}

.ngo-img img {
    width: 100%;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 20px;
    left: -40px;
    background: #EC4A13;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 8px;
    left: -60px;
    background: #EC4A13;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    height: 300px;
}

.service-item:hover {
    margin-top: -10px;
    background: #EC480F;

}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 120px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: #7B1B05;
    border-color: #7B1B05;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer-img img {
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
}

.footer-img p {
    text-align: justify;
    /* color: #000; */
}

.footer-d-flex {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.footer-d-flex p a {
    color: #fff;
}

.footer .copyright {
    padding: 10px 0;
    font-size: 15px;
    border-top: 1px solid #E54104;
}

.footer .copyright a {
    color: var(--light);
}

.pri-color-choco {
    color: #7B1B05 !important;
}

.pri-bg-choco {
    background-color: #7B1B05 !important;
}

.sec-color-orange {
    color: #E54104 !important;
}

.black-heading {
    color: #000 !important;
}

.footer-copy a {
    transition: 0.3s;
}

.footer-copy a:hover {
    color: #ff581b;
}

.upside-btn {
    background: #E54104 !important;
    border-radius: 50% !important;
    outline: none;
    border: none;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ============================================================================== */


















.w-100 {
    width: 100% !important;
}








/* ========================== colors ========================================== */

.text-hover {
    position: relative;
}

.bg-lightblue {
    background-color: rgba(173, 216, 230, 0.342);
    height: 100px;
    position: absolute;
    top: 85%;
    transition: 0.3s ease;
}

.text-hover:hover .bg-lightblue {
    top: 75%;
}

.txt-black {
    color: #000;
}

.person-sec p {
    text-align: justify;
}

.if-height {
    height: 410px;
}

.the-p-sec2 img {
    width: 100%;
}

/*  */

.home-slider {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: #f5f5f5;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 400px;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots-container {
    position: absolute;
    bottom: 50%;
    left: 97%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    flex-direction: column;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background: #fff;
    transform: scale(1.2);
}

.home-slider .slider-container .home-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(173, 216, 230, 0.9);
    /* lightblue with transparency */
    padding: 20px;
    color: #333;
}

.home-slider .slider-container .home-slider-content h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
}

.content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slider-container:hover .content-actions {
    height: 40px;
    margin-top: 15px;
}

.slider-container:hover .home-slider-content h5 {
    margin-bottom: 15px;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border: 2px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #333;
    color: lightblue;
}

.content-icons {
    display: flex;
    gap: 15px;
}

.content-icons a {
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
}

.content-icons a:hover {
    transform: scale(1.2);
    color: #007bff;
}

.contact-page-no p a {
    color: #52565b;
}

.home-sec-2 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

@media (max-width: 768px) {
    .slider-container {
        width: 95%;
    }

    .mob-txt-justify {
        text-align: justify;
    }

    .navbar-light .navbar-brand,
    .navbar-light a.btn {
        height: 73px;
    }

    .slider {
        height: 300px;
    }

    .dots-container {
        left: 95%;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 250px;
    }

    .dots-container {
        left: 92%;
    }

    .home-slider-content h5 {
        font-size: 14px;
    }
}

.home-slider .slider-container .home-slider-content {
    background-color: lightblue;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
}

.home-slider .slider-container .home-slider-content h5 {
    font-size: 16px;
    font-weight: 500;
}

/* video */

.full-width-carousel {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transition: all 0.3s ease;
}

.carousel-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.carousel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.carousel-slide:hover .carousel-actions {
    height: 40px;
    margin-top: 15px;
}

.read-more {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border: 2px solid white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: white;
    color: black;
}

.content-icons {
    display: flex;
    gap: 15px;
}

.content-icons a {
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.content-icons a:hover {
    transform: scale(1.2);
    color: #1DA1F2;
}

.carousel-dots {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgb(255, 0, 0);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .carousel-slider {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .carousel-slider {
        height: 400px;
    }

    .carousel-dots {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-slider {
        height: 350px;
    }

    .carousel-content p {
        font-size: 14px;
    }

    .carousel-dots {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}
















/* ========================================================================== */

.cust-size-30 {
    font-size: 30px;
    margin: 15px 0px;
}

.text-primary-heading {
    color: #EC4A13;
}

/* ============ fancy box ============= */

.container-1 {
    /* padding: 2rem 1rem; */
    margin: 0 auto;
    /* max-width: 68rem; */
    width: 100%;
}


.main .container-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
    justify-content: center;
    align-items: center;
}

.main .container-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    justify-content: center;
    align-items: center;
}

.desk-padding {
    padding: 5px 30px;
}

@media (max-width: 768px) {
    .desk-padding {
        padding: 5px 0;
    }
}

.main .card {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
    color: #333;
    border-radius: 2px;
}

.main .card-image {
    background: #fff;
    display: block;
    padding-top: 100%;
    position: relative;
    width: 100%;
}

.main .container-2 .card .c-height {
    height: 500px !important;
}

.main .card-image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 600px) {
    .main .container {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }

    .main .container-2 .card .c-height {
        height: 100% !important;
    }

    .main .container-2 {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
    }

    .main .card-image {
        padding-top: 150%;
    }
}

.txt-justify {
    text-align: justify !important;
}

.samman-img img {
    width: 100%;
}

.book-logo a img {
    width: 25%;
}

/* =============================== education conttent============================================== */
.edu-container {
    background-color: rgb(243, 243, 243);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 50px 0px;
    color: #333;
    border-radius: 10px;
}

.education-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    /* max-width: 1200px; */
}

.education-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
}

.ba-card {
    width: 250px;
    border-top: 5px solid #4e54c8;
}

.ma-card {
    width: 250px;
    border-top: 5px solid #8e44ad;
}

.phd-card {
    width: 350px;
    min-height: 250px;
    border-top: 5px solid #e74c3c;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.degree {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.subject {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

.phd-card .degree {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.phd-card .subject {
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .education-container {
        flex-direction: column;
    }

    .ba-card,
    .ma-card,
    .phd-card {
        width: 100%;
        max-width: 400px;
    }
}


.profession-sec img {
    width: 100%;
}

/* =============================== education conttent============================================== */



/* =========== books section ============= */
.books-sec .books-sec-info {
    text-align: center;
}

.books-sec .books-sec-info img {
    width: 80%;
}

/* =========== books section end ============= */

.b-images img {
    width: 50% !important;
    text-align: center;
    margin: 0 auto 20px;
}

/* carsouol home images */

.dc-main {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.dc-section {
    padding: 40px 0;
    /* background-color: #f9f9f9; */
}



.dc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.dc-carousel-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.dc-carousel-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.dc-carousel {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.dc-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.dc-carousel-item {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.dc-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.dc-item-content {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transition: all 0.3s ease;
}

.dc-carousel-item.active .dc-item-content {
    transform: translateY(0);
}

/* .dc-carousel:hover .dc-item-content {
    bottom: 0;
} */

.link-logo {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

/* .buy-heading{
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
} */

.link-logo a img {
    width: 200px;
}

.dc-item-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.dc-item-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.dc-read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.dc-social-links {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dc-social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dc-social-links a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dc-carousel-item:hover img {
    transform: scale(1.05);
}

.dc-carousel-item:hover .dc-item-content {
    background: rgba(0, 0, 0, 0.8);
}

.dc-carousel-item:hover .dc-read-more,
.dc-carousel-item:hover .dc-social-links {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dc-container {
        flex-direction: column;
    }

    .dc-carousel {
        height: 350px;
    }

    .dc-carousel-wrapper {
        width: 100%;
    }

    .dc-item-content h3 {
        font-size: 1.2rem;
    }

    .dc-item-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dc-carousel {
        height: 300px;
    }

    .dc-item-content {
        padding: 15px;
    }

    .dc-item-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .dc-item-content p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .dc-read-more {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}


.org-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.org-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.org-header__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.org-header__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.org-section__heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 600;
}

.txt-justify {
    text-align: justify;
}

/* .org-section__heading::after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.25rem;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 0.125rem;
} */

.org-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    /* margin-bottom: 4rem; */
}

.activity-card {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.activity-card__media {
    height: 16rem;
    overflow: hidden;
    position: relative;
}

.activity-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-card__image {
    transform: scale(1.05);
}

.activity-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.85);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
    font-weight: 500;
}

.activity-card:hover .activity-card__overlay {
    transform: translateY(0);
}

.activity-card__content {
    padding: 1.5rem;
}

.activity-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    /* color: var(--text-dark); */
    color: #EB4F0D;
    font-weight: 600;
}

.activity-card__description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.activity-card__link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    transition: var(--transition);
    font-weight: 500;
}

.activity-card__link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .org-header {
        padding: 2rem 1rem;
    }

    .org-header__title {
        font-size: 2rem;
    }

    .org-section__heading {
        font-size: 1.75rem;
    }
}

/* ========== socail icons ============ */

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35PX;
    height: 35PX;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Instagram */
.instagram {
    background: #f09433;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(225, 48, 108, 0.4);
}

/* YouTube */
.youtube {
    background: #FF0000;
}

.youtube:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(255, 0, 0, 0.4);
}

/* LinkedIn */
.linkedin {
    background: #0077B5;
}

.linkedin:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(0, 119, 181, 0.4);
}

/* Twitter X */
.twitter {
    background: #000000;
}

.twitter:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.4);
}

/* Facebook */
.facebook {
    background: #3b5998;
}

.facebook:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(59, 89, 152, 0.4);
}

/* Tooltip effect on hover */
.social-icon::after {
    content: attr(data-platform);
    position: absolute;
    top: -40px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.social-icon:hover::after {
    opacity: 1;
}

/* table */

.award-container {
    margin: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.award-heading {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.award-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.award-table-header {
    background-color: #6A1802;
    color: white;
    font-size: 1.1em;
    text-align: center;
    padding: 15px;
}

.award-table-row {
    border-bottom: 1px solid #dddddd;
    transition: all 0.3s ease;
}

.award-table-row:nth-of-type(even) {
    background-color: #f3f3f3;
}

.award-table-row:last-of-type {
    border-bottom: 2px solid #6A1802;
}

.award-table-row:hover {
    background-color: #e3f2fd;
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.award-table-cell {
    padding: 15px 20px;
    text-align: left;
    font-size: 0.95em;
}

.award-year {
    font-weight: bold;
    color: #2c3e50;
    width: 10%;
    text-align: center;
}

.award-name {
    color: #E54104;
    font-weight: 600;
    width: 25%;
}

.award-organization {
    width: 25%;
}

.award-description {
    width: 40%;
    color: #555;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .award-table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .award-container {
        padding: 30px 0px;
        display: flex;
        justify-content: center;
    }

    .footer-img img {
        width: 80%;
    }
    .modal-content {
        margin: 10% auto;
        display: block;
        max-width: 90% !important;
        height: 360px !important;
        margin-top: 230px !important;}
        .image-box {
            width: 100% !important;
            border: 1px solid #ddd;
            padding: 10px;
            text-align: center;
            background-color: #f9f9f9;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            box-sizing: border-box;}
}

.youtube-vid {
    width: 100%;
    height: 400px;
    /* border: 2px solid black; */
}

.vid-text {
    margin: 15px 0px;
}

/* === book section  === */

book-section {
    padding: 20px;
    background-color: #f5f5f5;
}

/* Section heading */
.section-heading {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Cards container */
.books-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual card */
.book-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: calc(25% - 20px);
    /* 4 cards per row */
    max-width: 230px;
}

.book-card:hover {
    transform: translateY(-5px);
}

/* Book cover image */
.book-cover {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

/* Book info */
.book-info {
    padding: 15px;
    padding-bottom: 0;
}

.book-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.book-author {
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .book-card {
        width: calc(33.333% - 20px);
        /* 3 cards per row */
    }
}

@media (max-width: 768px) {
    .book-card {
        width: calc(50% - 20px);
        /* 2 cards per row */
    }
}

@media (max-width: 480px) {
    .book-card {
        width: 100%;
        /* 1 card per row on very small screens */
    }
}

/* ======= logo section ======== */
.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0px;
    margin: 0 auto;
}

.logo-item {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-sec-vid {
    object-fit: cover;
}

.logo-item img {
    max-width: 80%;
    height: auto;
    /* filter: grayscale(100%) opacity(0.8); */
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .logo-item {
        min-width: 80px;
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .logo-item {
        min-width: 60px;
        max-width: 100px;
    }

    .main .container-1 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 10px;
    }

    .logo-item {
        min-width: 40px;
        max-width: 80px;
        flex: 0 0 calc(20% - 10px);
        /* 5 items per row */
    }

    /* Show only 5 logos per row on very small screens */
    .logo-item:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 360px) {
    .logo-item {
        min-width: 30px;
        max-width: 60px;
        flex: 0 0 calc(25% - 10px);
        /* 4 items per row */
    }

    /* Show only 4 logos per row on tiny screens */
    .logo-item:nth-child(n+5) {
        display: none;
    }
}

/* ======= logo section end======== */



/* new-3-3 image slider */

/* new-3-3 image slider end */




/* new puraskar section */

/* new puraskar section */


/* ====== certificate slider from awards ======= */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

.logo-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.logo-slide {
    min-width: calc(21.2857% - 17px);
    /* 7 logos visible at once with gap */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.logo-slide img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    /* opacity: 0.7; */
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .logo-slide {
        min-width: calc(25% - 15px);
        /* Show 4 logos on tablets */
    }
}

@media (max-width: 480px) {
    .logo-slide {
        min-width: calc(50% - 10px);
        /* Show 2 logos on mobile */
    }
}

/* ====== certificate slider from awards ======= */

/* pop up section */

#popup-wrapper-p-home {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 999;
    padding-top: 30px;
}

#popup-p-home {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0);
    /* width: 800px; */
    /* height: 450px; */
    z-index: 9999;
    border-radius: 10px;

    opacity: 0;
    scale: 0;
    transition: scale 0.5s ease-out, opacity 0.5s ease-out;
}

#popup-p-home.show {
    opacity: 1;
    scale: 1;
}

#popup-p-home img {
    width: 100%;
    /* height: 100%; */
    border-radius: 5px;
}

#close-popup-p-home {
    position: absolute;
    top: 10px;
    right: 450px;
    /* background-color: #ffffff; */
    color: #000000;
    border: none;
    height: 30px;
    width: 30px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
}

#close-popup-p-home:hover {
    background: #000000;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    #popup-p-home {
        width: 100%;
        height: 250px;
    }

    #popup-p-home img {
        width: 80%;
    }

    #popup-wrapper-p-home {
        padding-top: 10px;
    }

    #close-popup-p-home {
        top: -180px;
        right: 15px;
    }

    #popup-wrapper-p-home {
        top: -80px;
    }
}




.tabs {
    display: flex;
    cursor: pointer;
    margin-bottom: 20px;
    justify-content: center; 
    gap: 10px; 
}

.tab {
    padding: 10px 20px;
    border: 1px solid #333;
    margin-right: 10px;
    background-color: #f0f0f0;
}

.tab.active {
    background-color: #333;
    color: white;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

/* Images section */

.images img {
    width: 350px;
    margin: 10px;
    cursor: pointer;
    border: 2px solid #333;
    transition: 0.3s;
    margin-left:0px;
}

.images img:hover {
    transform: scale(1.05);
    border-color: #555;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: 10% auto;
    display: block;
    max-width: 50%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Videos section */
.videos iframe {
    width: 100%;
    height: 300px;
    margin: 10px 0;
    border: none;
}

@media (max-width: 600px) {
    .images img, .videos iframe {
        width: 100%;
    }
}


.image-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Gallery Card */
.image-box {
    width: 32%;
    height: 330px; /* Fixed height for all cards */
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden; /* Crop overflowed image */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-right: 0.5%;
}

.image-box img {
    width: 100%;
    height: 230px; /* Fixed height for image inside card */
    object-fit: cover; /* Crop image to fit */
    cursor: pointer;
    border-radius: 5px;
}

.image-name {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    flex: 1; /* Pushes content down if needed */
}

/* Modal CSS */
/* Modal CSS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto; /* allow scrolling if content is tall */
    z-index: 1000;
}

.modal:target {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 20px 20px 40px 20px; /* extra bottom padding */
    max-width: 700px;
    max-height: 90vh; /* limit height to viewport */
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow-y: auto; /* scroll if content exceeds max-height */
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.modal-content p {
    margin-top: 15px;
    text-align: left;
    line-height: 1.5;
}

/* Close button */
.close {
    position: sticky; /* always visible at top inside modal */
    top: 0;
    right: 0;
    font-size: 30px;
    text-decoration: none;
    color: #333;
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    float: right;
    z-index: 10;
}


