
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: #006AA6 !important;
    border-color: #006AA6 !important;
    color: var(--bs-white) !important;
}

.legacy-about-content {
    display: none;
}

/* Keep the original homepage layout and imagery while removing retired template blocks. */
.idevpro-home {
    display: none;
}

.legacy-home-content {
    display: block;
}

.legacy-home-content .donation,
.legacy-home-content .counter,
.legacy-home-content .causes,
.legacy-home-content .event,
.legacy-home-content .blog,
.legacy-home-content .volunteer {
    display: none;
}

/* College course catalogue: keep every interactive state within the blue brand palette. */
#courseCatalogue .accordion-item {
    border-color: rgba(0, 133, 207, .18);
}

#courseCatalogue .accordion-button {
    background: #f7fbfe;
    color: #222;
    box-shadow: none;
    font-weight: 600;
}

#courseCatalogue .accordion-button:not(.collapsed),
#courseCatalogue .accordion-button:hover,
#courseCatalogue .accordion-button:focus {
    background: #0085CF;
    color: #fff;
    box-shadow: none;
}

#courseCatalogue .accordion-button::after {
    filter: none;
}

#courseCatalogue .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.professional-legacy {
    display: none;
}

.professional-page .institute-rule {
    width: 72px;
    height: 4px;
    background: #0085CF;
    margin: 1.25rem 0;
}

.professional-page .institute-list li {
    margin-bottom: .8rem;
}

.founder-portrait {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 72px 0 72px;
    box-shadow: 20px 20px 0 rgba(0, 133, 207, .14);
}

.sdg-focus-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .3s ease;
}

.sdg-focus-grid a:hover img {
    transform: translateY(-6px);
}

.organogram-frame {
    overflow-x: auto;
    padding: 1rem;
    background: #f7fbfe;
    border: 1px solid rgba(0, 133, 207, .16);
}

.organogram-frame img {
    display: block;
    width: 100%;
    min-width: 760px;
    height: auto;
    filter: contrast(1.08) saturate(1.05);
}

.college-legacy {
    display: block;
}

.college-legacy > .row,
.college-legacy > .text-center {
    display: none;
}

.college-legacy > section {
    display: block;
}

.college-page .programme-carousel .carousel-item {
    min-height: 300px;
    background: linear-gradient(135deg, #0085CF, #006AA6);
    color: #fff;
}

.college-page .programme-carousel .carousel-control-prev,
.college-page .programme-carousel .carousel-control-next {
    opacity: .85;
}

.college-page .programme-carousel .carousel-indicators {
    margin-bottom: 0;
}

.service-link .h4,
.service-link span.h4 {
    color: #fff !important;
}

.volunteer-title h5,
.volunteer-title p {
    color: #222 !important;
}

.partners-grid .partner-logo {
    min-height: 130px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 133, 207, .14);
}

.partners-grid .partner-logo img {
    display: block;
    max-width: 100%;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Shared team presentation */
.volunteer-img {
    overflow: visible;
    background: transparent;
}

.volunteer-img img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 40px 0 40px;
    box-shadow: 10px 10px 0 rgba(0, 133, 207, .12);
}

.volunteer-img .volunteer-title {
    position: static;
    margin-top: 1rem;
    padding: 0;
    background: transparent !important;
    text-align: left;
}

.team-member-social a,
.founder-social a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    margin: .65rem .35rem 0 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bs-primary);
    border-radius: 50%;
}

.team-member-social a:hover,
.founder-social a:hover {
    background: #006AA6;
    color: #fff;
}

.whatsapp-widget {
    position: fixed;
    right: 28px;
    bottom: 90px;
    z-index: 1000;
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    font-weight: 700;
}

.whatsapp-widget:hover { color: #fff; background: #1ebe5d; }

.footer-whatsapp { color: #25D366 !important; }

/* Board-style team portraits: circular image framed by the iDevPro colour ring. */
.volunteer-img .team-photo {
    display: block;
    width: min(100%, 270px);
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 14px;
    border-radius: 50%;
    background: conic-gradient(
        #ce2d3a 0deg 24deg, #fff 24deg 29deg,
        #d48635 29deg 53deg, #fff 53deg 58deg,
        #348954 58deg 82deg, #fff 82deg 87deg,
        #3e479d 87deg 111deg, #fff 111deg 116deg,
        #c18a52 116deg 140deg, #fff 140deg 145deg,
        #a53d92 145deg 169deg, #fff 169deg 174deg,
        #cf2e3b 174deg 198deg, #fff 198deg 203deg,
        #303030 203deg 227deg, #fff 227deg 232deg,
        #d48635 232deg 256deg, #fff 256deg 261deg,
        #00a8e0 261deg 285deg, #fff 285deg 290deg,
        #c53837 290deg 314deg, #fff 314deg 319deg,
        #9b6968 319deg 343deg, #fff 343deg 348deg,
        #348954 348deg 360deg
    );
}

.volunteer-img .team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
}

.volunteer-img .volunteer-title {
    text-align: center;
}

.board-member {
    text-align: center;
}

.board-member img {
    width: min(100%, 270px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.board-member h4 {
    margin: 1rem 0 .3rem;
}

.board-member p {
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .whatsapp-widget { right: 16px; bottom: 76px; padding: .65rem; }
    .whatsapp-widget span { display: none; }
}

@media (max-width: 767.98px) {
    .partners-grid .partner-logo {
        min-height: 96px;
        padding: .7rem;
    }

    .partners-grid .partner-logo img {
        max-height: 68px;
    }
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-hover-bg {
    transition: 0.5s;
}

.btn-hover-bg:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-primary) !important;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: var(--bs-primary) !important;
}
/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar Start ***/
.site-brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.navbar {
    padding: 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-header #carouselId .carousel-control-prev,
.carousel-header #carouselId .carousel-control-next {
    background: transparent;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh 
}

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

/* Darken the supplied banner artwork without changing or obscuring its built-in copy. */
.carousel-header #carouselId .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 18, 33, .42);
    pointer-events: none;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent !important;
}

.carousel-header #carouselId.carousel {
    position: relative;
}

.carousel-header #carouselId.carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li {
    margin-right: 30px !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 12px !important;
    border: 5px solid transparent;
    transition: 0.5s;
    
}

.carousel-header #carouselId.carousel .carousel-indicators li.active {
    border: 5px solid var(--bs-primary) !important;
    border-radius: 10px;
}
/*** Carousel End ***/

/*** Responsive refinements ***/
body {
    overflow-x: hidden;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 12px;
    }

    .navbar .navbar-collapse {
        padding: 12px 0 18px;
    }

    .professional-page .mx-lg-n4 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .carousel-header.vh-100 {
        height: auto !important;
        min-height: 0 !important;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item img {
        object-fit: contain;
        background: #071c2c;
    }

    .bg-breadcrumb {
        padding-top: 72px;
    }

    .professional-page .border-start {
        border-left: 0 !important;
        border-top: 4px solid var(--bs-primary) !important;
        padding: 1.5rem 0 0 !important;
    }
}

@media (max-width: 767.98px) {
    .site-brand-logo {
        width: 34px;
        height: 34px;
    }

    .navbar-brand h2 {
        font-size: 1.3rem;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item::after {
        background: rgba(0, 18, 33, .34);
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: .75;
    }

    .carousel-header #carouselId.carousel .carousel-indicators li {
        width: 9px;
        height: 9px;
        margin-right: 14px !important;
    }

    .bg-breadcrumb .display-3,
    .bg-breadcrumb .display-4 {
        font-size: 2rem;
    }

    .professional-page h1.display-5 {
        font-size: 2rem;
    }

    .professional-page .py-5,
    .professional-page section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #courseCatalogue .accordion-button {
        padding: 1rem;
        font-size: .95rem;
        line-height: 1.4;
    }

    #courseCatalogue .accordion-body {
        padding: 1rem;
    }

    .table-responsive {
        font-size: .85rem;
    }

    .table-responsive th,
    .table-responsive td {
        min-width: 150px;
        padding: .7rem;
    }
}



/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/breadcrumb-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 0 0;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .tab-class .nav .nav-item a.active,
.about .tab-class .nav .nav-item a.active span {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** About End ***/


/*** Service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-link {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    bottom: 0; 
    left: 0; 
    display: flex; 
    align-items: end;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.5s; 
}

.service .service-item .service-link:hover {
    background: rgba(0, 0, 0, 0.6);
}

.service .service-item .service-link a {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item img {
    transition: 0.5s;
}

.service .service-item:hover img {
    transform: scale(1.2);
}

.service .service-item .service-link:hover a:hover {
    color: var(--bs-primary);
}
/*** Service End ***/


/*** Donation Start ***/
.donation .donation-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.donation .donation-item::after {
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}


.donation .donation-item .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: -60px; 
    left: 0;
    transition: 0.5s;
    z-index: 3;
}

.donation .donation-item:hover .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: 0px; 
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.donation .donation-item .donation-btn {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.donation .donation-item:hover .donation-btn {
    visibility: visible;
    opacity: 1;
}

/*** Donation End ***/


/*** Counter Start ***/
.counter .counter-item .counter-counting {
    width: 100%;
    text-align: center;
    border-style: dotted;
    border-color: var(--bs-white); 
    font-size: 30px;
}
/*** Counter End ***/


/*** causes Start ***/
.causes .causes-item {
    overflow: hidden;
}

.causes .causes-item .causes-img {
    position: relative;
    transition: 0.5s;
}

.causes .causes-item .causes-img .causes-link {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0 !important; 
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: rgba(0, 0, 0, .2);
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover .causes-link {
    background: rgba(0, 0, 0, .6);
}

.causes .causes-item .causes-img img {
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover img {
    transform: scalex(-1);
}

.causes .causes-item .causes-img .causes-dination {
    position: absolute;
    top: 0; 
    right: 0;
}

.causes .causes-item .causes-img .causes-dination a {
    font-size: 14px;
}

.causes .causes-item .causes-content {
    background: var(--bs-secondary);
    border-color: var(--bs-white);
    border-style: dotted;
    border-top: 0;

}

.causes .causes-item .progress {
    height: 10px;
    overflow: visible;
}

.causes .causes-item .progress .progress-bar {
    position: relative;
    width: 0;
    overflow: visible;
    background: var(--bs-primary);
    transition: 2s;
}

.causes .causes-item .progress .progress-bar span {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-size: 12px;
    color: var(--bs-white);
    background: var(--bs-dark);
    z-index: 1;
}
/*** causes End ***/


/*** Events Start ***/
.event .event-carousel.owl-carousel {
    position: relative;
}
.event .event-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -60px;
    left: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -60px;
    right: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-prev:hover,
.event .event-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}
.event .event-carousel .event-item .event-content {
    border-style: dotted;
    border-top: 0; 
    border-color: var(--bs-white); 
    background: var(--bs-secondary);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(0, 0, 0, .2);
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .6);
}


.blog .blog-item .blog-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img:hover .search-icon {
    opacity: 1;
}
/*** Blog End ***/

/*** Gallery Start ***/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gallery .gallery-item img {
    transition: 0.5s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.2);
}

.gallery .gallery-item .gallery-content {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0; 
    left: 0;
    background: rgba(0, 133, 207, .4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.5s;
    z-index: 2;
}

.gallery .gallery-item:hover .gallery-content {
    height: 100%;
}

.gallery .gallery-item .gallery-content .gallery-inner {
    transition: 0.5s;
    background: rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.gallery .gallery-item:hover .gallery-content .gallery-inner {
    background: rgba(0, 133, 207, .94);
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery .gallery-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -80px;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.gallery .gallery-item:hover .search-icon {
    opacity: 1;
}
/*** Gallery End ***/


/*** Volunteer Start ***/
.volunteer {
    background: rgba(0, 133, 207, .1);
}
.volunteer .volunteer-img {
    position: relative;
    overflow: hidden;
}

.volunteer .volunteer-img .volunteer-title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: end;
    transition: 0.5s;
}

.volunteer .volunteer-img:hover .volunteer-title {
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-img img {
    transition: 0.5s;
}

.volunteer .volunteer-img:hover img {
    transform: scale(1.2);
}
/*** Volunteer End ***/


/*** Contact Start ***/
.contact {
    background: rgba(0, 133, 207, .4);
    border-style: dotted;
    border-color: var(--bs-white);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    border-top: 3px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-style: dotted;
    border-color: var(--bs-light);
}
.footer .footer-item a,
.footer .footer-item p {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
}

.footer .footer-item .footer-gallery {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-gallery img {
    transition: 0.5s;
}

.footer .footer-item .footer-gallery:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-gallery .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-gallery:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/* Site-wide phone layout safeguards */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        max-width: 100%;
        overflow-x: clip;
    }

    .navbar {
        min-height: 62px;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 72px);
        margin-right: 0;
        overflow: hidden;
    }

    .navbar-brand h1,
    .navbar-brand h2 {
        min-width: 0;
        margin: 0;
        font-size: clamp(.86rem, 4.2vw, 1.2rem) !important;
        line-height: 1.08;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .navbar .navbar-collapse {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar .navbar-nav .nav-link {
        padding: .7rem 1rem;
        white-space: normal;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
        display: none;
    }

    .row {
        --bs-gutter-x: 1.25rem;
    }

    .row > * {
        min-width: 0;
    }

    .about .tab-class .nav {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .about .tab-class .nav .nav-item,
    .about .tab-class .nav .nav-item a,
    .about .tab-class .nav .nav-item span {
        width: auto !important;
        max-width: 100%;
    }

    h1,
    .h1,
    .display-1,
    .display-2,
    .display-3,
    .display-4,
    .display-5 {
        overflow-wrap: anywhere;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .px-4,
    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .btn {
        white-space: normal;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .organogram-frame {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .5rem;
    }

    .board-member img,
    .volunteer-img .team-photo {
        width: min(76vw, 260px);
    }

    .footer .footer-item {
        text-align: center;
    }

    .footer .footer-social,
    .footer .footer-item > div {
        justify-content: center;
    }

    .owl-carousel,
    .gallery,
    .service,
    .volunteer {
        max-width: 100%;
        overflow-x: clip;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}
