/* ==========================================================================
   SUPREME COURT OF INDIA — PROPOSAL & SUPPORT REDESIGN STYLESHEET
   Theme Color Palette: Navy Blue (#0f2a4a, #11372a/navy overrides), 
                        Brass/Gold (#caad62, #ca9b30), 
                        Deep Gold/Crimson Accent.
   ========================================================================== */

/* Custom Proposal Support Banner */
.proposal-support-banner {
    background: linear-gradient(135deg, #0d2238 0%, #1e3a5f 100%);
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
    border-bottom: 3px solid #ca9b30;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10000;
}
.proposal-support-banner strong {
    color: #f7d070;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.proposal-support-banner a {
    color: #3bb2f6;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}
.proposal-support-banner a:hover {
    color: #8cd4ff;
}

/* Base Body Redesign & Smooth Fonts */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #f6f8fb !important;
    color: #2b3a4a !important;
}

/* Primary TopBar Enhancements */
#topBar {
    background: #0b1a2e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#topBar a {
    color: #d1dce5 !important;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}
#topBar a:hover {
    color: #f5c563 !important;
}

/* Header & Emblem Logo Enhancements */
.header-wrapper {
    background: linear-gradient(to right, #0d223c, #16365c) !important;
    padding: 25px 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.logo_text strong {
    font-size: 22px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.h1-logo {
    color: #f5c563 !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}
.logo-sub-title {
    color: #a7bccc !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 1px;
}
#logo {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0px 2px 6px rgba(255, 255, 255, 0.1));
}
#logo:hover {
    transform: scale(1.06) rotate(3deg);
}

/* Navigation Menu Redesign */
.menuWrapper {
    background: #112d4e !important;
    border-bottom: 4px solid #ca9b30 !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1) !important;
}
.nav > li > a {
    font-weight: 600 !important;
    color: #ffffff !important;
    padding: 15px 22px !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
}
.nav > li.active > a, .nav > li > a:hover {
    background-color: #ca9b30 !important;
    color: #112d4e !important;
}

/* Fix Dropdown Arrows/Indicators */
.nav li.has-sub > a .indicator::after {
    content: "\f0d7" !important; /* FontAwesome caret-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: inherit !important;
    display: inline-block;
    transition: transform 0.2s ease;
}
.nav li.has-sub:hover > a .indicator::after {
    transform: rotate(180deg);
}
.indicator {
    display: inline-block !important;
    margin-left: 5px !important;
}

/* Fix More Menu Sidebar Toggle Icon & Close Button */
.menuMoreText::after {
    content: "\f0c9" !important; /* FontAwesome bars icon */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    margin-left: 8px !important;
    display: inline-block !important;
}

#overflowMenu {
    background-color: #0b1a2e !important; /* Premium dark navy matching our primary theme */
    box-shadow: -4px 0 20px rgba(0,0,0,0.3) !important;
}

#overflowMenu .ofMenu ul {
    list-style: none !important; /* Remove unrendered squares/bullets */
    padding-left: 0 !important;
}

#overflowMenu .ofMenu li a {
    color: #ffffff !important; /* Clear readable white text for main links */
    font-weight: 600 !important;
}

#overflowMenu .ofMenu li.has-sub-child > a {
    color: #ca9b30 !important; /* Brass/Gold for category headers */
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

#overflowMenu .closeMenu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #ca9b30 !important; /* Gold background close button */
    color: #0b1a2e !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

#overflowMenu .closeMenu:hover {
    background-color: #e5bd57 !important;
    transform: scale(1.03);
}

.sub-menu {
    background: #ffffff !important;
    border-top: 3px solid #ca9b30 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 0 6px 6px;
}
.sub-menu li a {
    color: #112d4e !important;
    padding: 10px 18px !important;
    font-weight: 500 !important;
    transition: background-color 0.2s ease, padding-left 0.2s ease !important;
}
.sub-menu li a:hover {
    background-color: #f7f9fc !important;
    color: #ca9b30 !important;
    padding-left: 24px !important;
}

/* Interactive Elements, Buttons & Forms */
input[type="text"], input[type="search"], select {
    border-radius: 4px !important;
    border: 1px solid #c9d6e4 !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
input[type="text"]:focus, input[type="search"]:focus, select:focus {
    border-color: #ca9b30 !important;
    box-shadow: 0 0 0 3px rgba(202, 155, 48, 0.2) !important;
    outline: none !important;
}
input[type="submit"], button, .accent-color {
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
input[type="submit"]:hover, button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cards and Content Sections redesign */
.gen-card, .explore-card-section .vc_column-inner .wpb_wrapper .gen-card {
    border-radius: 8px !important;
    border: 1px solid #e1e8f0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease !important;
    overflow: hidden;
}
.gen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(13, 34, 60, 0.08) !important;
    border-color: #ca9b30 !important;
}

/* Table Designs */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
table th {
    background-color: #0d223c !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
}
table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f6;
    color: #334e68;
}
table tr:hover {
    background-color: #f8fafc;
}

/* Footer Section Redesign */
#mainFooter {
    background-color: #0b1a2e !important;
    color: #cdd9e5 !important;
    padding-top: 40px !important;
    border-top: 5px solid #ca9b30 !important;
}
#mainFooter a {
    color: #a3b8cc !important;
    transition: color 0.2s ease !important;
}
#mainFooter a:hover {
    color: #f5c563 !important;
}
.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 30px !important;
}
