﻿body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* top bar */

.topbar {
    background: #d9d9d9;
    text-align: left;
    font-size: 14px;
    padding: 6px;
    color: #000;
    flex-wrap: wrap;
}

/* 📱 MOBILE VIEW */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-right {
        width: 100%;
        text-align: left; /* ya center bhi kar sakte ho */
        margin-top: 5px;
    }
}

/* main header */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  /*  background: #f5f5f5;*/
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

/* left section */

.header-left {
    display: flex;
    align-items: center;
}

.ashok {
    width: 60px;
    margin-right: 15px;
}

.dept-text {
    line-height: 1.4;
}

.dept-hindi {
    font-size: 18px;
    font-weight: bold;
}

.dept-eng {
    font-size: 20px;
    font-weight: bold;
}

.dept-sub {
    font-size: 14px;
    color: #555;
}

/* right section */

.header-right {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .info-box img {
        width: 50px;
    }

.small-text {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.number {
    font-size: 16px;
    font-weight: bold;
    color: #e67e00;
}

.about-section {
    max-width: 900px;
    margin: 0px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-family: "Noto Sans Devanagari", Arial, sans-serif;
}

.about-title {
    font-size: 28px;
    color: #d35400;
    margin-bottom: 20px;
    border-left: 5px solid #f39c12;
    padding-left: 10px;
}

.about-section p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 12px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    background: #f39c12;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    transition: 0.3s;
    float: right;
}

    .read-more:hover {
        background: #d35400;
    }

/* 📱 MOBILE VIEW */
@media (max-width: 768px) {

    .main-header {
        flex-direction: column; /* vertical layout */
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .ashok {
        width: 45px;
    }

    .dept-eng {
        font-size: 16px;
    }

    .dept-hindi {
        font-size: 14px;
    }
}
/* Profile Cards */

/* Leader Card */

.leader-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 18px;
    margin-bottom: 20px;
    background: linear-gradient(135deg,#ffffff,#f7f7f7);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
    transition: 0.3s;
    overflow: hidden;
}

    .leader-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }


/* Image */

.leader-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f39c12;
    margin-right: 15px;
}


/* Text */

.leader-info h4 {
    margin: 0;
    font-size: 19px;
    font-weight: bold;
    color: #222;
}

.designation {
    margin: 6px 0;
    font-size: 15px;
    color: #e67e22;
    font-weight: 600;
}

.leader-info span {
    font-size: 14px;
    color: #666;
}


/* Badge */

.leader-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e67e22;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    border-bottom-left-radius: 10px;
}

    .leader-badge.minister {
        background: #2c3e50;
    }

/* Floating container */

.floating-menu {
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 9999;
}

/* Button */

.floating-btn {
    display: flex;
    align-items: center;
    background: #e67e22;
    color: #fff;
    padding: 12px 18px;
    width: 220px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: translateX(170px);
    transition: 0.4s;
}

    /* Icon */

    .floating-btn .icon {
        font-size: 20px;
        margin-right: 10px;
    }

    /* Hover effect */

    .floating-btn:hover {
        transform: translateX(0);
        background: #d35400;
        color: #fff;
    }

    .floating-btn .text {
        padding-left: 8px;
        padding-right: 6px;
        line-height: 25px;
    }

.dashboard-title {
    font-family: 'Hind',sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #f5f5f5;
}

/* tiles */

.dashboard-tile {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: .3s;
}

    .dashboard-tile:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* icon circle */

.tile-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

/* colors */

.bg1 {
    background: #3498db;
}

.bg2 {
    background: #e74c3c;
}

.bg3 {
    background: #27ae60;
}

.bg4 {
    background: #f39c12;
}

/* text */

.dashboard-tile h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dashboard-tile p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.services-dashboard {
    background: linear-gradient(90deg,#c0392b,#e67e22);
}


.gov-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px 0;
    font-family: 'Hind',sans-serif;
}

.footer-col h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #f39c12;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-text {
    text-align: justify;
}

.update-date {
    margin-top: 10px;
    font-weight: 600;
    color: #f1c40f;
}

.gov-footer hr {
    border-color: rgba(255,255,255,0.2);
    margin-top: 30px;
}

.footer-bottom {
    font-size: 14px;
    color: #bdc3c7;
    margin-top: 10px;
}

.dept-section {
    background: #f4f6f9;
}

.dept-title {
    font-family: 'Hind',sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #d35400;
}

.dept-logo {
    display: block;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: .3s;
}

    .dept-logo img {
        width: 100%;
        max-height: 60px;
        object-fit: contain;
    }

    .dept-logo:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    /*News*/

.news-wrapper {
    padding: 2px;
}

.news-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-header {
    background: linear-gradient(90deg,#c0392b,#e67e22);
    color: #fff;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

    .news-header i {
        margin-right: 10px;
        font-size: 20px;
    }

.news-body {
    padding: 15px;
}

.news-scroll {
    max-height: 260px;
    overflow-y: auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

    .news-item:last-child {
        border-bottom: none;
    }

.news-arrow {
    color: #e67e22;
    margin-right: 10px;
    font-size: 14px;
}

.news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    font-weight: 500;
}

    .news-item a:hover {
        color: #e67e22;
    }

.news-date {
    font-size: 12px;
    color: #888;
    margin-left: 8px;
}

.news-new {
    height: 14px;
    margin-left: 8px;
}

.news-footer {
    background: #fafafa;
    padding: 10px 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

    .news-footer a {
        color: #c0392b;
        font-weight: 600;
        text-decoration: none;
    }

        .news-footer a:hover {
            text-decoration: underline;
        }

        /* Sub Menu*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

.dropdown-menu li a {
    padding: 8px 15px;
    font-size: 14px;
}

    .dropdown-menu li a:hover {
        background: #f5f5f5;
        color: #d35400;
    }

/*footerlogocarousel */

.logo-carousel-section {
    background: #f4f6f9;
    padding: 35px 0;
    border-top: 1px solid #e5e5e5;
}

.logo-heading {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 40px;
    animation: scrollLogo 20s linear infinite;
    align-items: center;
}

    .logo-track img {
        height: 55px;
        transition: .3s;
       // filter: grayscale(100%);
    }

        .logo-track img:hover {
            filter: grayscale(0%);
            transform: scale(1.1);
        }

@keyframes scrollLogo {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.page-header-img {
    background-image: url('../images/wheat_banner1.jpg');
    background-size: cover;
    background-position: center;
    height: 150px;
    position: relative;
    margin-bottom: 30px;
}

.header-overlay {
    background: rgba(0,0,0,0.45);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .header-overlay h1 {
        color: white;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: 1px;
    }

.main-content-head {
    font-size: 26px;
    font-weight: 600;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

h2.main-content-head {
    font-size: 22px;
    color: #d35400;
    margin-top: 15px;
    margin-bottom: 10px;
}

/*Stu*/
.org-chart ul {
    padding-top: 20px;
    position: relative;
}

.org-chart li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
}

    .org-chart li::before,
    .org-chart li::after {
        content: '';
        position: absolute;
        top: 0;
        right: 50%;
        border-top: 2px solid #ccc;
        width: 50%;
        height: 20px;
    }

    .org-chart li::after {
        right: auto;
        left: 50%;
        border-left: 2px solid #ccc;
    }

    .org-chart li:only-child::after,
    .org-chart li:only-child::before {
        display: none;
    }

    .org-chart li:first-child::before,
    .org-chart li:last-child::after {
        border: none;
    }

/* vertical line */

.org-chart ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #ccc;
    width: 0;
    height: 20px;
}

/* box design */

.org-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 14px 18px;
    border-radius: 6px;
    display: inline-block;
    min-width: 180px;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    /* hover effect */

    .org-box:hover {
        background: linear-gradient(90deg,#c0392b,#e67e22);
        color: #fff;
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    }

/* section title */

.level-title {
    clear: both;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 22px;
    color: #c0392b;
    border-left: 6px solid #e67e22;
    padding-left: 12px;
}

.org-chart ul {
    margin-bottom: 60px;
}

/* wrapper */

/*.org-chart {
    overflow: auto;
    padding: 20px;
}*/


.main-content-head {
    font-size: 26px;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 15px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 6px;
}

.sub-heading {
    font-size: 20px;
    color: #e67e22;
    margin-top: 25px;
    margin-bottom: 10px;
}

.main-content-p {
    font-size: 15px;
    line-height: 24px;
    text-align: justify;
    margin-bottom: 12px;
    color: #333;
}

.work-list {
    margin-top: 10px;
    padding-left: 20px;
}

    .work-list li {
        margin-bottom: 10px;
        line-height: 24px;
        font-size: 15px;
    }

    /*RationCrad.aspx*/
.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 15px;
}

.section-intro {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 20px;
}

.card-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.table-title {
    font-size: 18px;
    color: #e67e22;
    margin-bottom: 15px;
}

.ration-table {
    width: 100%;
    border-collapse: collapse;
}

    .ration-table th {
        background: linear-gradient(90deg,#c0392b,#e67e22);
        color: white;
        padding: 10px;
    }

    .ration-table td {
        padding: 10px;
        border: 1px solid #eee;
    }

.group-row {
    background: #f5f5f5;
    font-weight: bold;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
}
.badge-new {
    background: #28a745;
}
.blue {
    background: #3498db;
}

.green {
    background: #27ae60;
}

.darkgreen {
    background: #145a32;
}

.pink {
    background: #d81b60;
}

.yellow {
    background: #f1c40f;
    color: #000;
}

/* Search Button Custom Color */
input[id$="txt_Search"] {
    background-color: #d35400;
    border-color: #d35400;
    color: #fff;
}

    input[id$="txt_Search"]:hover {
        background-color: #b84300;
    }

/*Tender*/
.table tbody tr:hover {
    background: #fff8f2;
    transform: scale(1.002);
}

.table a:hover {
    color: #e67e22 !important;
}

/*NFSA apply*/
#collapseOne a:hover {
    color: #e67e22 !important;
}

#collapseOne div:hover {
    background: #fff8f2;
}

/*Form (सुझाव / आपत्तियाँ हेतु एंट्री फॉर्म - II)*/
.form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid #e67e22;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-table {
    width: 100%;
}

    .form-table tr {
        border-bottom: 1px solid #f2f2f2;
    }

.form-label {
    width: 30%;
    padding: 12px;
    font-weight: 600;
    color: #34495e;
    vertical-align: middle;
}

.form-table td:last-child {
    padding: 12px;
}

.form-input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

    .form-input:focus {
        border-color: #e67e22;
        box-shadow: 0 0 6px rgba(230,126,34,0.3);
    }

.radio-style input {
    margin-right: 5px;
}

.radio-style label {
    margin-right: 15px;
    font-weight: 500;
}

.submit-row {
    text-align: center;
    padding-top: 15px;
}

.submit-btn {
    background: #e67e22;
    color: #fff;
    padding: 10px 35px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

    .submit-btn:hover {
        background: #d35400;
    }

/*Photo Gallery*/
/* Page */
.gallery-page {
    background: #f5f5f5;
    padding: 20px;
    font-family: Arial;
}

/* Header */
.gallery-title {
    background: linear-gradient(90deg, #0b6e4f, #0f9d58);
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
}

/* Back */
.back-btn {
    display: inline-block;
    background: #0b6e4f;
    color: #fff;
    padding: 8px 15px;
    margin: 15px 0;
    border-radius: 6px;
    cursor: pointer;
}

/* Slider */
.slider-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

/* 🔥 Thumbnails Circular */
.fotorama__nav__frame--thumb img {
    border-radius: 50% !important;
}

/* 🔥 CARD GRID */
.card-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Card */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

    .card img {
        width: 100%;
        border-radius: 8px;
    }

    /* Caption */
    .card p {
        font-size: 14px;
        margin-top: 10px;
        text-decoration: underline;
    }

    /* Hover */
    .card:hover {
        transform: translateY(-5px);
    }

/* Responsive */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 20px;
    }
}

/*LightBox*/
/* 🔥 LIGHTBOX BACKGROUND */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

    /* Image */
    #lightbox img {
        max-width: 90%;
        max-height: 80%;
        border-radius: 10px;
        box-shadow: 0 0 20px #000;
    }

/* Caption */
#lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Hover Zoom Effect */
.card img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/*lll*/
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    text-align: center;
}

    /* Image */
    #lightbox img {
        max-width: 90%;
        max-height: 75%;
        border-radius: 10px;
        transition: transform 0.3s;
    }

/* Caption */
#lightbox-caption {
    color: #fff;
    margin-top: 10px;
    font-size: 18px;
}

/* Close */
.close-btn {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Prev/Next */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Download */
#download-btn {
    display: inline-block;
    margin-top: 15px;
    background: #0f9d58;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* Hover zoom cursor */
#lightbox img:hover {
    cursor: zoom-in;
}
 

/* Search */
.search-box {
    margin: 20px 0;
}

    .search-box input {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #ccc;
    }

.search-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/*Menu*/

.navbar {
    position: relative;
    z-index: 9999; /* ✅ sabse upar */
}

.navbar-collapse {
      /* same orange color */
    
    width: 100%;
    left: 0;
    top: 100%;
    z-index: 9999;
}

.carousel,
.slider,
.banner {
    position: relative;
    z-index: 1; /* ✅ navbar se neeche */
}

@media (max-width: 768px) {

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;   /* ✅ scroll enable */
    }

}