/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}

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

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

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

.fw-normal {
    font-weight: 400 !important;
}

.fixed-header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
   z-index: 999 !important;  /* lower than modal */
    pointer-events: auto !important;  /* allow clicks */
}
/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.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;
}
.features-bg {
    background: url("../img/bg.jpg") center center no-repeat;
    background-size: cover;   /* ensures full coverage */
}


.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    outline: none;
	

}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

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

/* =========================================
   MOBILE DROPDOWN – 3 ITEMS + SCROLL
=========================================*/
@media (max-width: 991.98px) {

    /* Let dropdown sit inside the collapsed menu */
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    /* When dropdown is open, limit height & enable scroll */
    .navbar .dropdown-menu.show {
        max-height: 150px;          /* ≈ 3 items visible */
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Make items readable but compact */
    .navbar .dropdown-menu .dropdown-item {
        font-size: 14px;
        padding: 8px 16px;
        line-height: 1.3;
        white-space: normal;        /* wrap long text */
    }
}


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

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(../img/bg1.png) repeat;
    background-size: 350px;
    min-height: 350px;
}


.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


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

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    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;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    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 {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}




.navbar {
  min-height:48px; /* total height */
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}/* Menu links spacing */
.navbar-nav .nav-link {
  padding: 8px 14px !important;
  font-size: 12px;
  font-weight: 500;
 
  color: #000 !important;
}


/* Minister profile cards */
.profile-card {
    text-align: center;
}

.profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.profile-name {
    font-size: 12px;
    margin: 3px 0 0 0;
}

.profile-title {
    font-size: 10px;
    color: #ddd;
}
	

	.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    
    box-shadow: 0 0px 0px rgba(0,0,0,0.1); /* optional shadow */
}

/* Prevent content hiding behind header */
body {
    padding-top: 200px; /* adjust based on your topbar + navbar height */
}

	
	
	.home-btn {
    padding: 8px 14px;
    border-radius: 50%;
    background: #ffffff22;
    border: 1px solid rgba(255,255,255,0.6); /* small outer line */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

/* Optional: Hover effect */
.home-btn:hover {
    border-color: #fff;
    background: #ffffff33;
}

/* =======================
   MOBILE FIXES
   ======================= */
@media (max-width: 767px) {

    /* Fix top bar */
   .top-bar img {
        max-height: 50px !important;
    }
	
	 .header-ministers .profile-photo {
        width: 40px !important;
        height: 40px !important;
    }
    .profile-name,
    .profile-title {
        font-size: 10px !important;
    }

   .profile-name,
    .profile-title {
        font-size: 10px !important;
    }

    /* Reduce title text sizes */
    .jeevandan-text { font-size: 20px !important; }
    .govt-text { font-size: 12px !important; }
    .ctp-text { font-size: 11px !important; }

    /* Navbar spacing */
    .navbar-nav .nav-link {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* FIX: Content should not hide behind header */
    body {
        padding-top: 135px !important;  /* earlier 210px */
    }

    /* Ensure fixed-header starts below gigw bar */
    .fixed-header {
        top: 35px !important; /* was 39px */
    }
	
	 .home-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 10px 0 !important; /* small spacing */
        background: #ffffff22 !important;
    }

    .navbar-nav .nav-link.home-btn {
        width: 40px !important;
        text-align: center !important;
    }

    /* Navbar fix */
    .nav-bar {
        padding: 0 20px !important;
    }

    /* Ministers row fix */
    .minister-box, 
    .leadership .team-item {
        text-align: center !important;
        flex-direction: column !important;
    }

    /* Circle images */
    .team-item img,
    .leadership img,
    .minister-photo img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50% !important;
    }

    /* Hero text fix */
    .header-carousel h1,
    .header-carousel p {
        text-align: center !important;
        font-size: 24px !important;
        line-height: 1.3;
    }

    /* Leadership section */
    .team-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    .team-social {
        margin-top: 15px;
        flex-direction: row !important;
        justify-content: center !important;
    }

    /* Testimonial images */
.testimonial-img img {
    width: 100%;
    height: 220px;     /* reduce image height */
    object-fit: cover; /* crop professionally */
    border-radius: 12px; /* smooth corners */
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15); /* clean shadow */
}


    .testimonial-img {
        padding: 20px !important;
    }

    /* Banner */
    .banner-inner {
        padding: 20px !important;
    }

    /* Newsletter input */
    .newsletter input {
        height: 50px !important;
        font-size: 14px !important;
    }
}

/* Title row */
.title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Left block: JEEVANDAN + Government of Telangana */
.left-title {
    display: flex;
    flex-direction: column;
    align-items: center; /* center under Jeevandan */
}

/* JEEVANDAN title */
.jeevandan-text {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

/* Government of Telangana – now perfectly under JEEVANDAN */
.govt-text {
    margin: 0;
    margin-top: 5px; 
    font-size: 20px;
    color: #ffffff;
    text-align: center;
}

/* CTP text – stays on same line to the right */
.ctp-text {
    font-size: 20px;
    color: #d6d6d6;
	font-style: italic;
    font-family: "Georgia", serif;
    font-weight: 600;
    white-space: nowrap;
}

/* Donating Life background text */
.donating-life-bg {
    position: absolute;
    right: 540px;
    bottom: 60px;
    font-size: 35px;
    font-style: italic;
    font-family: "Georgia", serif;
    color: rgba(204, 204, 204, 0.32);
    letter-spacing: 2px;
    filter: blur(0.3px);
    opacity: 0.8;
    pointer-events: none;
}

.donating-life-bg1 {
    position: absolute;
    right: 380px;
    bottom: 55px;
    font-size: 1.4rem !important;
    font-style: italic;
    font-family: "Georgia", serif;
    color: rgba(204, 204, 204, 0.32);
    letter-spacing: 2px;
    filter: blur(0.3px);
    opacity: 0.8;
    pointer-events: none;
}
/* MOBILE */
@media (max-width: 767px) {

    .title-wrapper {
        flex-direction: column;
        gap: 0px;
    }

    .ctp-text {
        margin-top: 4px;
        font-size: 14px;
    }

    .jeevandan-text {
        font-size: 28px;
    }

    .govt-text {
        font-size: 14px;
    }

    .donating-life-bg {
        bottom: -10px;
        right: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 22px;
    }

    .donating-life-bg1 {
        bottom: -10px;
        right: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 22px;
    }
}


/* UNIVERSAL EMBOSS EFFECT */
.emboss {
    text-shadow:
        1px 1px 2px rgba(0,0,0,0.35),   /* bottom shadow */
        -1px -1px 1px rgba(255,255,255,0.6); /* top highlight */
}


.emboss-black {
    font-size: 15px;
    font-weight: 650;
    color: #000000;

    text-shadow:
        1px 3px 13px rgb(255 255 255), 0px -1px 12px rgb(255 255 255 / 35%);      /* soft bottom shadow */
}

.slide-img-3corners {
    border-radius: 8px 0px 8px 8px !important;  
    /* TL | TR | BR | BL */
    overflow: hidden !important;
}

.banner-card {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.banner-qr {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.banner-app {
    width: 120px;
}
.scan-btn {
    background: #666565;
    color: white;
    border: none;
}
.scan-btn:hover {
  transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.scan-view {
    background: #017a93;
    color: white;
    border: none;
}
.scan-view:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.alert-box {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.alert-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.alert-box {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.alert-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* GIGW Top Bar (fixed) */
.gigw-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999; /* Always above header */
}

/* Push your fixed-header below gigw bar */
.fixed-header {
    top: 39px !important; /* Height of GIGW bar */
}


/* -------------------------------------
   TRUE HIGH CONTRAST MODE (WHITE TEXT)
--------------------------------------*/
.high-contrast,
.high-contrast * {
    color: #ffffff !important;        /* All text white */
    background-color: #000000 !important; /* All backgrounds black */
    border-color: #ffffff !important; /* Borders visible */
}

/* Make icons visible */
.high-contrast i,
.high-contrast .fa,
.high-contrast .bi {
    color: #ffffff !important;
}

/* Images grayscale for accessibility */
.high-contrast img {
    filter: grayscale(100%) brightness(150%) contrast(120%);
}
/* Fix for menu items inside High Contrast */
.high-contrast .navbar-nav .nav-link,
.high-contrast .navbar a,
.high-contrast .nav-link,
.high-contrast .dropdown-item {
    color: #ffffff !important;
}


.jeevandan-text { font-size: 2.5rem; }
.govt-text { font-size: 1.3rem; }
.ctp-text { font-size: 1.3rem; }
.profile-name { font-size: 0.9rem; }
.profile-title { font-size: 0.7rem; }


/* ==========================================
   ENABLE FONT SCALING FOR FULL HEADER
==========================================*/

/* Force header to inherit global scaling */
.header-title-area,
.header-title-area * {
    font-size: inherit !important;
}

/* Scalable units instead of px */
.jeevandan-text {
    font-size: 2.6rem !important;
    font-weight: 700 !important;
}

.govt-text {
    font-size: 1.4rem !important;
}

.ctp-text {
    font-size: 1.4rem !important;
    font-style: italic;
}

.donating-life-bg {
    font-size: 1.5rem !important;
    opacity: 0.6 !important;
}


/* ==========================================
   GLOBAL FONT RESIZER (A+/A/A-)
==========================================*/
html {
    font-size: 100%;   /* Base = 16px */
}

body * {
    font-size: inherit;
}


/* =========================
   LEFT SIDEBAR FINAL STYLES
=========================*/

.sidebar-menu {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    height: 100%;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    padding: 7px 4px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    cursor: pointer;
    color: #003f7f;
}

.sidebar-menu li:hover {
    background: #f0f6ff;
}

.toggle-icon {
    margin-right: 6px;
    color: #555;
}

/* Scrollable Sidebar */
.sidebar-scroll {
    max-height: 488px;   /* Slider height */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar style */
.sidebar-scroll::-webkit-scrollbar { width: 6px; }
.sidebar-scroll::-webkit-scrollbar-track { background: #eee; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: #999; border-radius: 20px; }
.sidebar-scroll::-webkit-scrollbar-thumb:hover { background: #666; }

/* Match row heights */
.sidebar-slider-row {
    display: flex;
    align-items: stretch;
}

/* High Contrast Support */
.high-contrast .sidebar-menu,
.high-contrast .sidebar-menu * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.toggle-icon i {
    font-size: 15px;
    margin-right: 6px;
    color: #0b4d9c; /* Telangana blue */
}
.header-carousel .item .col-lg-6:first-child {
    padding-left: 60px !important;  /* Move entire text block to the right */
}
.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b4d9c; /* Telangana Blue */
    text-align: left;
    padding: 8px 4px 10px 4px;
    margin-bottom: 12px;
    border-left: 4px solid #fbaa1d; /* Govt Orange Accent */
    padding-left: 10px;
    letter-spacing: 0.3px;
}
.btn-close {
    position: relative;
    z-index: 1000001 !important;
    pointer-events: auto !important;
}

/* Transparent Background Loader */
.organ-heart-loader-wrapper {
    background: rgba(255, 255, 255, 0.6); /* light transparent */
    backdrop-filter: blur(2px);           /* optional soft blur */
    position: fixed;
    z-index: 99999999 !important;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}


/* Hide animation */
#spinner.hide {
    opacity: 0;
    pointer-events: none;
}
.stat-card {
    border-radius: 10px;
    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.donor-carousel .donor-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0d6efd;
    margin: 0 auto;
    transition: 0.3s ease;
}

.donor-carousel .donor-item img:hover {
    transform: scale(1.15);
}

.donor-item p {
    color: #2c2c2c;
    font-weight: 600;
}
#donorModalImage {
    max-height: 80vh;
    object-fit: contain;
}


.pulse-container {
    position: relative;
    width: 10px;
    height: 300px;
    margin-top: 40px;
}

.pulse-line {
    width: 4px;
    height: 100%;
    background: #0d6efd;
    border-radius: 5px;
    animation: pulseLine 1.5s infinite ease-in-out;
}

@keyframes pulseLine {
    0% { opacity: 0.3; height: 60%; }
    50% { opacity: 1; height: 100%; }
    100% { opacity: 0.3; height: 60%; }
}

.heart-icon {
    position: absolute;
    top: 45%;
    left: -15px;
    font-size: 24px;
    color: red;
    animation: heartBeat 1.2s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.25); }
    40% { transform: scale(1); }
    60% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.team-item:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/* TAB WRAPPER */
.tab-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;      /* ❗No wrapping — all tabs stay in one line */
    overflow-x: auto;       /* Scroll on small screens */
    padding-bottom: 3px;
    scrollbar-width: thin;
}

/* TAB BOX BUTTON */
.tab-box {
    padding: 6px 12px;
    background: #f2f6ff;
    border: 2px solid #d8e2f9;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
    color: #0d3c8c;
}

.tab-box:hover {
    background: #e7efff;
    border-color: #8ab4ff;
    transform: translateY(-3px);
}

.tab-box.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0px 6px 15px rgba(0, 90, 255, 0.3);
}

/* CONTENT BOX */
.tab-content-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

/* CONTENT HIDE/SHOW */
.tab-content-item {
    display: none;
}

.tab-content-item.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}



       /* Fullscreen Overlay */
        #loaderOverlay {
            position: fixed;
            inset: 0;
             background: #908282e8;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999999;
            transition: opacity .6s ease;
        }

        .loader-icons {
            position: relative;
            width: 320px;
            height: 320px;
        }

        /* WRAPPER THAT ROTATES */
        .icon-ring {
            position: absolute;
            inset: 0;
            transform-origin: center center;
        }

        /* Organ icons */
        .icon {
            width: 90px;
            height: 90px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            opacity: 0;
            animation: zoomIn 0.9s ease forwards;
        }

        /* Center Human Icon */
        .center-icon {
            width: 110px;
            height: 110px;
            position: absolute;
            left: 160px;
            top: 160px;
            margin-left: -55px;
            margin-top: -55px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.6s ease;
            z-index: 50;
        }

        .icon img,
        .center-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Zoom In Animation */
        @keyframes zoomIn {
            0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
            60% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
            100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
        }

        /* Rotate ONLY the outer icons */
        @keyframes spinAround {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .circle-animation {
            transition: left .9s ease, top .9s ease, transform .9s ease;
        }

        /* Sequential animation delays */
        .icon:nth-child(1) { animation-delay: 0ms; }
        .icon:nth-child(2) { animation-delay: 200ms; }
        .icon:nth-child(3) { animation-delay: 400ms; }
        .icon:nth-child(4) { animation-delay: 600ms; }
        .icon:nth-child(5) { animation-delay: 800ms; }
        .icon:nth-child(6) { animation-delay: 1000ms; }



@media (max-width: 991px) {
    .notification-bar {
        margin-top: 250px !important; /* adjust value to match header height */
    }
}
