
body {
    background-color: #8ce1fd; /* Light blue background matching the image */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  
}

/* --- Header Section --- */
.top-header {
    background-image: url('../images/logos/headerimg.jpg');
    background-repeat: no-repeat;
    background-size: 100% 220px;
    background-position: center;
    width: 100%;
    height: 175px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

    /*.top-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.4);*/ /* Slight overlay for readability */
    /*}*/

.header-logo-box {
    background-color: white;
    padding: 5px 15px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

    .header-logo-box img {
        height: 50px;
    }

    .header-logo-box .convener-text {
        color: #1c529c;
        font-weight: bold;
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

.header-title {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-left: auto;
    margin-right: auto;
}

/* --- Navbar --- */
.custom-navbar {
    background-color: #0b0b61; /* Dark navy blue */
    padding: 0;
}

    .custom-navbar .nav-link {
        color: white !important;
        font-size: 0.85rem;
        padding: 10px 12px !important;
        border-right: 1px solid rgba(255,255,255,0.1);
    }

        .custom-navbar .nav-link:hover {
            background-color: #1e3a8a;
        }

/* --- Carousel --- */
.carousel-item {
    height: 400px;
}

    .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

.carousel-caption-custom {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* --- Profiles Section --- */
.section-title {
    text-align: center;
    font-weight: bold;
    color: #000;
    margin: 20px 0;
}

.profile-card {
    background-color: #fcf9f2; /* Off-white/cream matching image */
    border: 1px solid #ddd;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.profile-img-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1c529c;
}

    .profile-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-name {
    color: #0d6efd;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.profile-desig {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0;
}

/* --- Objective Section --- */
.objective-container {
    background-color: white;
    border: 1px solid #ccc;
    margin-bottom: 30px;
}

.objective-header {
    background-color: #3b71ca;
    color: white;
    padding: 10px 20px;
    font-size: 1.25rem;
    font-weight: bold;
}

.objective-body {
    padding: 20px;
    font-size: 0.9rem;
    color: #333;
}

    .objective-body ul {
        padding-left: 20px;
    }

    .objective-body li {
        margin-bottom: 8px;
    }

.read-more {
    color: #0d6efd;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
}

/* --- Extra Data Section (Inspired by slbctn.com) --- */
.extra-section-header {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 10px;
    font-weight: bold;
    border-bottom: 2px solid #0f5132;
}

.marquee-box {
    background: white;
    border: 1px solid #ccc;
    height: 200px;
    overflow: hidden;
    padding: 10px;
}

    .marquee-box ul {
        list-style: none;
        padding: 0;
    }

    .marquee-box li {
        border-bottom: 1px dashed #ccc;
        padding: 8px 0;
        font-size: 0.85rem;
    }

.quick-links-box {
    background: white;
    border: 1px solid #ccc;
    height: 200px;
    padding: 15px;
}

/* --- Footer --- */
/*.custom-footer {
    background-color: #2b558c;
    color: white;
    padding: 15px 0;
    font-size: 0.8rem;
    text-align: center;
}

    .custom-footer a {
        color: white;
        text-decoration: none;
        margin: 0 10px;
    }

.footer-divider {
    color: rgba(255,255,255,0.5);
}*/
/* Ensure full height layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Use viewport height for better compatibility */
}

/* Main content wrapper - pushes footer down */
.main-content {
    flex: 1 0 auto; /* Grow to fill available space */
    padding-bottom: 20px; /* Optional: adds some space before footer */
}

/* Footer styling */
.custom-footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    background-color: #2b558c;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    width: 100%;
    border-top: 2px solid #1a3d66;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .custom-footer {
        font-size: 12px;
        padding: 12px 15px;
    }

    .footer-divider {
        display: inline-block;
        margin: 0 5px;
    }
}

/* For very small screens, stack footer items */
@media (max-width: 480px) {
    .custom-footer {
        font-size: 11px;
        padding: 10px;
        line-height: 1.8;
    }

    .footer-divider {
        display: none; /* Hide dividers on very small screens */
    }

    .custom-footer br {
        display: block; /* Show line breaks on mobile */
    }
}

/* Footer link styling */
.custom-footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .custom-footer a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-divider {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}
.sipl-text {
    color: #ff4d4d;
    font-weight: bold;
}

#popDiv {
    background-color: rgba(255, 102, 0,0.3);
    height: 500%;
    width: 100%;
    top: 0%;
    text-align: center;
    border: 1px solid red;
    position: absolute;
    z-index: 1000;
}

#close {
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 30px;
    color: #333;
    z-index: 3000;
}

    #close:hover {
        color: red;
    }

div.pop {
    width: 70%;
    position: fixed;
    left: 15%;
    right: 20%;
    top: 25%;
    border: 5px solid silver;
    background-color: White;
    border-radius: 15px;
    animation-name: example;
    animation-duration: 1s;
}

span a:hover {
    color: dodgerblue;
}

.card {
    border: 1px solid #ccc;
    padding: 10px
}

.quick-links-column {
    width: 50%;
}

.quick-link {
    display: block;
    margin-bottom: 5px;
}

.schemecardpdiv {
    width: 50%;
    padding: 10px;
    overflow-y: auto;
}

.card > ul {
    list-style: none
}

/*.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    align-items: baseline;
    font-size: x-large;
    font-weight: 400;
   min-height: 260px;
    overflow: auto;
}*/

    .card::-webkit-scrollbar {
        width: 10px;
    }

    .card::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

    .card::-webkit-scrollbar-thumb {
        background-color: dodgerblue;
        border-radius: 5px;
    }

        .card::-webkit-scrollbar-thumb:hover {
            background-color: #4313ec;
        }

.quick-link {
    color: white;
    text-decoration: none;
    padding-left: 10px;
}

    .quick-link:hover {
        color: dodgerblue;
        text-decoration: none;
    }

.quick-links-column {
    margin: 0 0 0 50px
}

    .quick-links-column > p {
        display: flex;
        font-size: large
    }

.helpbtn {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 20px;
    padding: 6px 15px;
    height: fit-content;
    border: 0;
    color: dodgerblue;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px
}

.loginbtn {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 20px;
    padding: 6px 15px;
    height: fit-content;
    border: 0;
    color: orange;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px
}

body {
    color: dodgerblue;
}

h3 {
    color: black;
}

.helpbtn a:hover {
    text-decoration: none;
    color: white;
    background-color: dodgerblue;
}

.helpbtn:hover {
    color: white;
    background-color: dodgerblue;
}

.loginbtn a:hover {
    text-decoration: none;
    color: white;
    background-color: dodgerblue;
}

.loginbtn:hover {
    color: white;
    background-color: dodgerblue;
}

.horizontal-line {
    position: relative;
    height: 4px;
    background-color: dodgerblue;
  /*  animation: moveWhite 2s infinite linear;*/
    margin: 0 auto;
}

@keyframes moveWhite {
    0% {
        background-image: linear-gradient(to right, white 50%, dodgerblue 50%);
        background-size: 200% 100%;
        background-position: right bottom;
    }

    100% {
        background-position: left bottom;
    }
}

.chartsdiv {
    width: 70%;
}

    .chartsdiv button {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        font-size: medium;
        padding: 8px 23px;
        height: fit-content;
        border: 0;
        color: dodgerblue;
        font-weight: 600;
        transition: background-color 0.3s, color 0.3s;
        margin: 0 10px 18px 18px;
        border-radius: 5px;
    }

.chartbtn {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: large;
    padding: 10px 25px;
    height: fit-content;
    border: 0;
    color: dodgerblue;
    font-weight: 600;
    transition: background-color 0.3s,color 0.3s;
}

    .chartbtn:active {
        background-color: dodgerblue;
        color: white;
    }

#chartCanvas {
    display: block;
    box-sizing: border-box;
    height: 197px;
    width: 618px;
    margin: 0 0 0 35px;
}

.chartmaindiv {
    display: flex;
    margin: 30px 0;
}

.contactusdiv {
    text-align: right;
    /*margin-top: 20px;*/
    display: flex;
    justify-content: space-between;
    padding: 0 55px
}

@media screen and (max-width: 800px) {

    ul.topnav li {
        display: none;
    }
}

.divSelector {
    width: max-content;
    height: 11vh;
    border: 1px solid dodgerblue;
    margin: 10px 40px;
    padding: 10px 10px;
    font-size: larger;
    font-weight: 700;
    border-radius: 10px;
    color: dodgerblue;
}

.schemes {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.quicklink {
    display: flex;
    z-index: 1;
    position: relative;
}

@media (max-width: 991.98px) {
    .schemes {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-top: 20px;
        align-items: center;
        width: -webkit-fill-available;
    }

    .chartmaindiv {
        flex-direction: column
    }

    .contactusdiv {
        text-align: center;
        flex-direction: column;
    }

    .quicklink {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .image-and-address {
        flex-direction: column;
    }

    .col-md-8, .col-md-4 {
        width: 100%;
    }
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
}

    .item.active {
        opacity: 1;
        transition: opacity 1s;
        transform: scale(1);
    }

    .item:nth-child(odd) {
        left: -100%;
        animation: slideFromLeft 1s forwards;
    }

    .item:nth-child(even) {
        left: 100%;
        animation: slideFromRight 1s forwards;
    }

@keyframes slideFromLeft {
    0% {
        left: -100%;
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        left: 0;
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideFromRight {
    0% {
        left: 100%;
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        left: 0;
        opacity: 1;
        transform: scale(1);
    }
}
/*For Menu Bar*/
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    background: #c7e2f1;
    /* background: rgba(3,40,120, 0.9);*/
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
   /* min-width: 260px;*/
    background: #fff;
    border-radius: 10px;
    z-index: 999;
}

.dropdown-submenu:hover > .submenu {
    display: block;
}

.dropdown-item {
    padding: 5px 5px;
    /*  font-weight: 600; */
    color: #ddd;
}

    .dropdown-item:hover {
        background: #ddd;
        color: white;
    }
.navbar-nav {
    flex-wrap: wrap;
    color: #fff !important;
}
.nav-link{
    color:#fff !important;

}
/* Chart CSS*/

.chart-box {
    width: 100%;
    min-height: 408px;
    border: 1px solid dodgerblue;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-title {
    width: 100%;
    color: dodgerblue;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.chart-container {
    position: relative;
    width: 90%;
    height: 330px;
}

    .chart-container canvas {
        width: 100% !important;
        height: 100% !important;
    }


/* =========================
   HELPLINE CARD
   ========================= */

.helpline-card {
    width: 100%;
    min-height: 130px;
    border: 1px solid dodgerblue;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .helpline-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

.helpline-logo {
    width: 25%;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .helpline-logo img {
        max-width: 75px;
        max-height: 75px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.helpline-content {
    width: 75%;
    padding-left: 15px;
    color: dodgerblue;
}

    .helpline-content h6 {
        margin-bottom: 5px;
        font-size: 15px;
        font-weight: 700;
    }

    .helpline-content p {
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 600;
    }

    .helpline-content span {
        display: block;
        font-size: 13px;
        font-weight: 600;
    }

    .helpline-content strong {
        display: block;
        font-size: 16px;
        margin-top: 3px;
    }

@media (max-width: 576px) {

    .chart-box {
        min-height: 350px;
        padding: 10px;
    }

    .chart-title {
        font-size: 15px;
    }

    .chart-container {
        width: 100%;
        height: 270px;
    }

    .helpline-card {
        padding: 10px;
    }

    .helpline-logo {
        width: 25%;
    }

    .helpline-content {
        width: 75%;
        padding-left: 10px;
    }

        .helpline-content h6 {
            font-size: 13px;
        }

        .helpline-content p {
            font-size: 12px;
        }

        .helpline-content span {
            font-size: 11px;
        }

        .helpline-content strong {
            font-size: 14px;
        }
}
/*Shcemes CSS*/

.card {
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    width:80%;
    margin-left:10%;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }

    .card a span {
        transition: color 0.2s ease;
    }

    .card a:hover span {
        color: #0056b3 !important;
    }