

/* ==========================================
   TOP HEADER
========================================== */

.top-header {
    background: #ff7c1b;
    min-height: 30px;
    padding: 7px 0;
    font-size: 12px;
    color: #ffff;

}

.top-header a {
    color: #ffff;
}

.top-header a:hover {
    color: #fff;
}

.top-item,
.top-link {
    white-space: nowrap;
}

/* ==========================================
   GOVERNMENT HEADER
========================================== */

.government-header {
    background: #e6f0ef;
    padding: 15px 0 20px;
    border-bottom: 1px solid #ddd;
}

.gov-left-logo {
    max-width: 125px;
    max-height: 100px;
    object-fit: contain;
}

.gov-right-logo {
    max-width: 105px;
    max-height: 105px;
    object-fit: contain;
}


/* CENTER TEXT */

.gov-title {
    color: #111;
    line-height: 1.2;
}

.gov-title h3 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 700;
}

.gov-title h4 {
    margin: 2px 0;
    font-size: 17px;
    font-weight: 700;
}

.gov-title h5 {
    margin: 5px 0;
    font-size: 13px;
    font-weight: 700;
}


/* ==========================================
   MAIN NAVBAR
========================================== */



/* ==========================================
   BASE
========================================== */
.main-navbar.sticky-top {
    background: #087f7f !important;
    z-index: 1030;
}

.main-navbar .navbar {
    min-height: auto;
    padding: 0;
}

.main-navbar,
.main-navbar .container-fluid,
.main-navbar .navbar,
.main-navbar .navbar-collapse,
.main-navbar .navbar-nav {
    overflow: visible;
    max-width: 100%;
}

/* ==========================================
   TOGGLER (hamburger)
========================================== */
.main-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .6);
    padding: 6px 10px;
    margin: 8px 0;
}

.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .4);
}

/* White hamburger icon */
.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   MENU (desktop)
========================================== */
.main-navbar .navbar-nav {
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    justify-content: flex-start;
}

.main-navbar .nav-link {
    position: relative;
    padding: 14px clamp(8px, 1.2vw, 16px) !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;      /* teal bg pe white readable hai */
    white-space: nowrap;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.show {
    color: #d9ffff !important;
}

/* Active underline (white, kyunki bg teal hai) */
.main-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: clamp(8px, 1.2vw, 16px);
    right: clamp(8px, 1.2vw, 16px);
    height: 3px;
    background: #ffffff;
}

/* ==========================================
   DROPDOWN
========================================== */
.main-navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}

.main-navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    white-space: normal;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background: #087f7f;
    color: #ffffff;
}

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

    .main-navbar .navbar-collapse {
        background: #087f7f;
        max-height: calc(100vh - 60px);
        overflow-y: auto;                 /* lamba menu scroll ho sake */
        padding-bottom: 10px;
    }

    .main-navbar .navbar-nav {
        flex-direction: column;
        flex-wrap: nowrap;                /* wrap band, items upar-neeche rahenge */
        align-items: stretch;             /* full width links */
        padding-top: 10px;
        row-gap: 0;
    }

    .main-navbar .nav-link {
        padding: 12px 15px !important;
        font-size: 15px;
        text-transform: uppercase;
        white-space: normal;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .main-navbar .nav-link.active {
        background: rgba(255, 255, 255, .15);
    }

    .main-navbar .nav-link.active::after {
        display: none;
    }

    /* Dropdown mobile me inline khule, floating nahi */
    .main-navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        background: rgba(0, 0, 0, .15);
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .main-navbar .dropdown-item {
        color: #ffffff;
        padding: 10px 28px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .main-navbar .dropdown-item:hover,
    .main-navbar .dropdown-item:focus {
        background: rgba(255, 255, 255, .2);
        color: #ffffff;
    }
}

/********** Template CSS **********/

/*** 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;
}

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

/*** 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;
}


/*** Navbar ***/


/*** Sticky Header ***/

.main-navbar {
    top: 0;
    z-index: 1030;
    background: #0d6b68;
    
}



.main-navbar .navbar-brand h2 {
    font-size: 25px;
    font-weight: 600;
    margin: 0;
}


/*** Navbar Links ***/

.main-navbar .navbar .navbar-nav .nav-link {
    margin-left: 15px;
    padding: 10px 0;
    outline: none;
    color: #ffff !important;
}

.main-navbar .navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar .navbar-nav .nav-link.active {
    color: #ffff !important;
}


/*** Dropdown Arrow ***/

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


/*** Dropdown ***/

.main-navbar .navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 0;
    background: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.main-navbar .navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: #222;
}

.main-navbar .navbar .dropdown-menu .dropdown-item:hover,
.main-navbar .navbar .dropdown-menu .dropdown-item.active {
    color: #ffffff;
    background: #087f7f;
}


/*** Desktop Dropdown ***/

@media (min-width: 992px) {

    .main-navbar .navbar .nav-item .dropdown-menu {
        display: block;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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


/*** Mobile ***/

@media (max-width: 991.98px) {

    .top-header {
        padding: 8px 0;
    }

    .top-header .row > div {
        margin-bottom: 5px;
    }

    .top-header .d-flex {
        flex-wrap: wrap;
        gap: 10px !important;
    }

    .top-header .justify-content-md-end {
        justify-content: flex-start !important;
    }

  

    .main-navbar .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

}


/*** Hero Header ***/
.hero-header {
    /* margin-top: -100px;
    padding-top: 150px; */
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

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

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

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

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}

.officer-card {
    border-bottom: 3px solid var(--bs-danger);
}

.officer-image {
    width: 180px !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center;
    display: block;
    margin: 0 auto 15px;
}

.stat-box {
    font-size: 14px;
    line-height: 1.4;
}

.stat-box strong {
    font-size: 16px;
}



/* Discom Box */
.discom-box {
    color: #fff;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.discom-box i {
    color: #fff !important;
}

.discom-box h5 {
    color: #fff !important;
}

.discom-green {
    background: #198754;
}

.discom-blue {
    background: #0d6b68;
}

.discom-red {
    background: #dc3545;
}


/* Info Cards */
.info-card {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(13, 107, 104, 0.25);
    background: #0d6b68;
}

/* Hover par text white */
.info-card:hover h5,
.info-card:hover p {
    color: #fff !important;
}

/* Button */
.info-card:hover .btn {
    background: #fff;
    color: #0d6b68 !important;
    border-color: #fff;
}

.info-image {
    overflow: hidden;
    border-radius: 8px;
}

.info-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.info-card:hover .info-image img {
    transform: scale(1.05);
}

/* What is New Section */
.whatsnew-item {
    position: relative;
    background: #0d6b68;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 15px;
}

.whatsnew-hidden {
    display: none;
}

.new-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
    margin:10px;
}

.new-badge::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #dc3545;
}

.whatsnew-title {
    display: block;
    color: #0d6b68;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 10px;
}

.whatsnew-title:hover {
    color: #dc3545;
    text-decoration: underline;
}

.whatsnew-date {
    font-size: 13px;
    color: #e1e9f0;
    margin:15px;
}

.whatsnew-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: #fff;
    overflow: hidden;
    max-width: 800px;   /* <-- width kam ki */
    margin: 0 auto;  
    margin-left:0px;   /* box ko center karne ke liye */
}

.whatsnew-item {
    padding: 0px 0;
    border-bottom: 1px dashed #ddd;
}

.new-badge {
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.whatsnew-title {
    font-weight: 600;
    color: #ffff;
    text-decoration: none;
    margin:15px;
}

.whatsnew-title:hover {
    color: #48d1cd;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

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

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.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;
}

.footer-top {
    width: 100%;
    margin: 0;
    padding: 0;           /* agar padding chahiye to sirf top-bottom rakhein, left-right na dein */
    background-position: top center;
    background-repeat: repeat-x;
    background-size: auto 100%;   /* height fill ho, width apne aap repeat ho */
}

