/* ==========================================================================
   District Cooperative Central Bank Ltd., Rewa - Complete Custom Stylesheet
   ========================================================================== */

/* ===== 1. बुनियादी स्टाइल (Reset & Basics) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== 2. टॉप हेडर (त्रि-रंग) - स्थिर (Sticky Header) और फिक्स लेआउट ===== */
.top-tricolor {
    background: linear-gradient(to right, #FF9933, #ffffff, #138808);
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* लोगो का साइज */
.banner-logo {
    height: 90px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* बैंक नाम और टेक्स्ट (ओवरलैप फिक्स के साथ) */
.bank-name-hi {
    font-size: 2.2rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 2px;
    line-height: 1.2;
}

.bank-name-en {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.2;
}

.sub {
    font-size: 0.95rem;
    color: #444;
    font-style: italic;
    font-weight: bold;
    display: block;
}

.lang-switch button {
    padding: 5px 12px;
    border: 1px solid #003366;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.lang-switch button.active, .lang-switch button:hover {
    background: #003366;
    color: #fff;
}

/* ===== 3. नेविगेशन बार और ड्रॉपडाउन ===== */
.navbar {
    background: #003366;
    position: relative;
    z-index: 999;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-menu li a:hover {
    background: #1a4a7a;
}

/* ड्रॉपडाउन मेनू */
.dropdown, .sub-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #002244;
    list-style: none;
    min-width: 220px;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.sub-dropdown {
    left: 100%;
    top: 0;
}

.nav-menu li:hover > .dropdown {
    display: block;
}

.dropdown li:hover > .sub-dropdown {
    display: block;
}

.dropdown li a {
    padding: 12px 15px;
    font-size: 0.85rem;
    border-bottom: 1px solid #1a3a5a;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
}

/* मेनू का NEW बैज स्टाइल */
.badge-new {
    background: red; 
    color: #fff; 
    padding: 2px 8px; 
    border-radius: 12px; 
    font-size: 0.65rem;
    font-weight: bold;
    margin-left: 3px;
}

/* ===== 4. स्क्रॉलिंग टेक्स्ट (Marquee) ===== */
.marquee-wrap {
    background: #ffcc00;
    padding: 8px 0;
    font-weight: bold;
    font-size: 0.9rem;
    color: #002244;
    border-bottom: 2px solid #e6b800;
}

/* ===== 5. कैरोसेल / स्लाइडर (6 स्लाइड्स) ===== */
.slider-section {
    margin-top: 25px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    padding: 100px 60px;
    min-height: 480px;
    color: white;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item > div {
    position: relative;
    z-index: 2;
}

.carousel-item h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0,0,0,.6);
}

.carousel-item .highlight {
    color: #ffcc00;
}

.carousel-item p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(0,0,0,.6);
}

.carousel-item .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff9933;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel-item .btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 18px;
    cursor: pointer;
    font-size: 1.4rem;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-control.prev { left: 25px; }
.carousel-control.next { right: 25px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.carousel-indicators button.active {
    background: #ff9933;
    width: 25px;
    border-radius: 7px;
}

/* ===== 6. मुख्य सामग्री एरिया (Two Column Layout) ===== */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-box h3 {
    color: #003366;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff9933;
    padding-bottom: 10px;
}

.about-box p {
    line-height: 1.7;
    font-size: 1rem;
}

/* साइडबार और विजेट्स स्टाइल */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-header {
    background: #003366;
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header.brown { background: #8B4513; }
.widget-header.gold { background: #D4AF37; }

.widget-body {
    padding: 15px;
}

.widget-body ul {
    list-style: none;
}

.widget-body ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.widget-body ul li:last-child {
    border-bottom: none;
}

.widget-body ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    display: inline-block;
}

.widget-body ul li a:hover {
    color: #003366;
    padding-left: 5px;
}

.widget-body ul li a span {
    color: red;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 5px;
}

.marquee-up marquee {
    height: 160px;
}

/* ===== 7. नया प्रीमियम फुटर स्टाइल (DICGC और QR स्कैनर के साथ) ===== */
.footer {
    background: linear-gradient(135deg, #00152b 0%, #002244 100%);
    color: #e0e0e0;
    padding: 60px 0 0 0;
    font-size: 0.95rem;
    border-top: 4px solid #ff9933; /* टॉप केसरी पट्टी */
    position: relative;
}

/* फुटर ग्रिड लेआउट */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ff9933;
    border-radius: 2px;
}

.about-col p {
    line-height: 1.6;
    color: #b0c4de;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff9933;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 153, 51, 0.3);
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-col ul li a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.links-col ul li a:hover {
    color: #ff9933;
    padding-left: 6px;
}

.links-col ul li a:hover i {
    transform: translateX(3px);
}

.contact-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-col .contact-item i {
    color: #ff9933;
    font-size: 1.1rem;
    margin-top: 3px;
}

/* DICGC और QR कोड कार्ड डिजाइन */
.premium-verify-card {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.v-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.img-shadow-wrap {
    background: #ffffff;
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-shadow-wrap img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
}

.v-box:hover .img-shadow-wrap {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.v-text {
    font-size: 0.75rem;
    font-weight: bold;
    color: #ff9933;
    margin-top: 10px;
    text-align: center;
}

/* फुटर बॉटम बार */
.footer-bottom {
    background: #000f21;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #8fa0b5;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-links a {
    color: #8fa0b5;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #ff9933;
}

/* ===== 8. पूरी तरह रिस्पॉन्सिव लेआउट (Media Queries) ===== */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-tricolor {
        position: relative;
    }
    .banner-logo {
        height: 60px !important;
    }
    .bank-name-hi {
        font-size: 1.6rem;
    }
    
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #002244;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li a {
        padding: 14px 20px;
        border-bottom: 1px solid #1a4a7a;
    }
    
    .dropdown {
        position: relative;
        top: 0;
        background: #00152b;
        box-shadow: none;
    }
    .sub-dropdown {
        position: relative;
        left: 0;
        background: #000c1a;
    }
    
    .carousel-item {
        padding: 60px 25px;
        min-height: 360px;
    }
    .carousel-item h2 {
        font-size: 1.8rem;
    }
    .carousel-item p {
        font-size: 1rem;
    }
    .carousel-control {
        padding: 12px;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}