/*
Theme Name: Sarkari Portal Custom
Author: Aapka Naam
Description: Custom Job Portal Theme with Payment Security
Version: 1.0
*/

/* Aapka purana CSS yahan se shuru hoga... */
/* =========================================================
   iGrroww.in - Premium Agency Grade CSS (Master File)
   Theme: Modern Govt Job Portal (SaaS Edition)
   ========================================================= */

/* --- 1. GLOBAL VARIABLES & PREMIUM COLOR PALETTE --- */
:root {
    /* Core Brand Colors */
    --brand-blue: #1e3a8a;      /* Deep Trust Blue */
    --brand-red: #dc2626;       /* Alert Red */
    --brand-green: #16a34a;     /* Success Green */
    --brand-yellow: #f59e0b;    /* Highlight Yellow */
    
    /* Gradients for Flash Cards */
    --grad-red: linear-gradient(135deg, #ef4444, #b91c1c);
    --grad-blue: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --grad-green: linear-gradient(135deg, #22c55e, #15803d);
    --grad-purple: linear-gradient(135deg, #a855f7, #7e22ce);

    /* UI Colors */
    --bg-main: #f8fafc;         /* Light grayish blue background */
    --bg-card: #ffffff;         /* Pure white for cards */
    --text-dark: #0f172a;       /* Almost black for headings */
    --text-body: #334155;       /* Dark slate for readable text */
    --text-muted: #64748b;      /* Light slate for secondary text */
    --border-color: #e2e8f0;    /* Soft border color */

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. BASE RESET & TYPOGRAPHY --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background-color: var(--bg-main); 
    color: var(--text-body); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* Custom Premium Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- 3. HEADER & NAVIGATION (GLASSMORPHISM) --- */
.top-trust-bar { background: #0f172a; color: #94a3b8; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #1e293b; }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; max-width: 1250px; margin: 0 auto; padding: 0 20px; }
.top-left span { font-weight: 600; color: #e2e8f0; letter-spacing: 0.5px; }
.top-right { display: flex; align-items: center; gap: 20px; }
.top-right a { color: #cbd5e1; display: flex; align-items: center; gap: 6px; }
.top-right a:hover { color: #60a5fa; }
.top-social { display: flex; gap: 12px; border-left: 1px solid #334155; padding-left: 20px; }
.top-social a:hover { color: #ffffff; transform: translateY(-2px); }

.creative-header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.creative-header.scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-md); border-bottom: 1px solid transparent; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; max-width: 1250px; margin: 0 auto; padding: 0 20px;}

.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { background: var(--grad-red); color: white; width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3); }
.text-sarkari { color: var(--text-dark); font-weight: 900; font-size: 26px; letter-spacing: -0.5px; }
.text-result { color: var(--brand-red); font-weight: 900; font-size: 26px; }
.logo-tagline { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: -2px; }

.desktop-nav .menu-items { display: flex; list-style: none; gap: 5px; }
.desktop-nav .menu-items > li > a { color: var(--text-body); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.desktop-nav .menu-items > li > a:hover, .desktop-nav .menu-items > li > a.active { color: var(--brand-red); background: #fef2f2; }

/* Header Actions & Dropdown */
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-premium { background: var(--grad-blue); color: #ffffff; padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); transition: var(--transition); border: 2px solid transparent; }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4); color: white; }

.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 120%; left: 0; background: var(--bg-card); min-width: 220px; list-style: none; padding: 10px 0; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); top: 100%; }
.dropdown-menu li a { display: block; padding: 10px 20px; color: var(--text-body); font-size: 14px; font-weight: 500; }
.dropdown-menu li a:hover { color: var(--brand-blue); background: var(--bg-main); padding-left: 25px; }

/* Mobile Menu UI */
.mobile-menu-btn { display: none; background: #f1f5f9; border: none; font-size: 24px; color: var(--text-dark); width: 45px; height: 45px; border-radius: 8px; cursor: pointer; }
.mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-card); z-index: 2000; box-shadow: 5px 0 25px rgba(0,0,0,0.1); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; }
.mobile-drawer.open { left: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.drawer-title { font-weight: 800; font-size: 18px; color: var(--text-dark); }
.close-drawer { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
.drawer-links { list-style: none; padding: 20px; }
.drawer-links li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; color: var(--text-body); font-size: 16px; font-weight: 600; }
.drawer-links li a i { width: 20px; text-align: center; color: var(--brand-red); }
.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15, 23, 42, 0.5); z-index: 1500; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(2px); }
.drawer-overlay.show { opacity: 1; visibility: visible; }

/* --- 4. HOMEPAGE UI (TICKER, GRID, TABS) --- */
.ticker-wrap { background: var(--bg-card); border-bottom: 2px solid var(--border-color); display: flex; align-items: center; padding: 8px 15px; box-shadow: var(--shadow-sm); }
.ticker-title { background: var(--brand-red); color: white; padding: 5px 12px; border-radius: 4px; font-weight: 700; font-size: 13px; white-space: nowrap; margin-right: 15px; animation: blink 1.5s infinite; }
.ticker-wrap marquee a { color: var(--brand-blue); font-weight: 600; font-size: 14px; margin-right: 30px; }
.ticker-wrap marquee a:hover { color: var(--brand-red); text-decoration: underline; }

.flash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 25px auto; max-width: 1250px; padding: 0 20px;}
.flash-box { padding: 12px; border-radius: 8px; color: white; text-align: center; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-md); transition: var(--transition); display: flex; align-items: center; justify-content: center; min-height: 60px; }
.flash-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: white; }
.bg-red-g { background: var(--grad-red); } .bg-blue-g { background: var(--grad-blue); } .bg-green-g { background: var(--grad-green); } .bg-purple-g { background: var(--grad-purple); }

.main-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; max-width: 1250px; margin-left: auto; margin-right: auto; padding: 0 20px;}
.col-box { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; }
.col-head { padding: 15px; color: white; font-size: 18px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.head-res { background: var(--brand-blue); } .head-adm { background: #15803d; } .head-job { background: var(--brand-red); }
.col-list { list-style: none; flex-grow: 1; }
.col-list li { border-bottom: 1px solid #f3f4f6; }
.col-list a { display: block; padding: 12px 15px; color: var(--text-dark); font-size: 14px; font-weight: 600; position: relative; }
.col-list a::before { content: "»"; position: absolute; left: 8px; color: #9ca3af; opacity: 0; transition: var(--transition); }
.col-list a:hover { color: var(--brand-red); background: #fef2f2; padding-left: 25px; }
.col-list a:hover::before { opacity: 1; left: 10px; color: var(--brand-red); }
.view-more { display: block; text-align: center; padding: 12px; background: #f9fafb; color: var(--brand-blue); font-weight: 700; font-size: 13px; border-top: 1px solid var(--border-color); }
.view-more:hover { background: #eff6ff; color: #1d4ed8; }

.tab-section { background: var(--bg-card); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); margin: 0 auto 40px; max-width: 1210px;}
.tab-buttons { display: flex; gap: 10px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tab-btn { background: #f3f4f6; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.tab-btn.active, .tab-btn:hover { background: var(--brand-blue); color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.tab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.tab-grid a { display: flex; align-items: center; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-dark); font-weight: 600; font-size: 14px; }
.tab-grid a i { color: var(--brand-red); margin-right: 10px; font-size: 16px; }
.tab-grid a:hover { border-color: #3b82f6; box-shadow: 0 2px 4px rgba(59,130,246,0.1); transform: translateX(3px); color: var(--brand-blue);}

/* --- 5. POST DETAILS PAGE --- */
.post-wrapper { max-width: 900px; margin: 40px auto; background: var(--bg-card); padding: 40px; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.post-title { color: var(--brand-red); text-align: center; font-size: 28px; font-weight: 800; border-bottom: 3px solid #fca5a5; padding-bottom: 15px; margin-bottom: 25px; line-height: 1.3;}
.post-short-info { background: #fefce8; border: 1px solid #fef08a; padding: 20px; border-radius: 8px; color: #854d0e; font-weight: 500; margin-bottom: 30px; font-size: 15px; line-height: 1.7;}
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm);}
.data-table th, .data-table td { border: 1px solid var(--border-color); padding: 18px; vertical-align: top; }
.data-table th { color: white; font-size: 18px; text-transform: uppercase; padding: 14px; letter-spacing: 0.5px;}
.data-table h3 { color: var(--brand-red); font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;}

.btn-apply { display: inline-block; background: var(--grad-blue); color: white; padding: 12px 35px; border-radius: 8px; font-weight: 700; font-size: 16px; box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2); transition: var(--transition); text-transform: uppercase;}
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(30, 58, 138, 0.3); color: white;}
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: white; padding: 12px 25px; border-radius: 8px; font-weight: 700; margin-top: 15px; transition: var(--transition); box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);}
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-2px); color: white;}

/* --- 6. MEGA FOOTER --- */
.premium-footer { background: #111827; color: #d1d5db; margin-top: 60px; }
.footer-container { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 60px 20px 40px; }
.footer-logo { font-size: 26px; font-weight: 800; color: #ffffff; margin-bottom: 15px; }
.footer-logo span { color: var(--brand-red); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; color: #9ca3af; }
.social-icon { width: 38px; height: 38px; border-radius: 8px; background: #1f2937; color: white; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.social-icon:hover { transform: translateY(-3px); color: white; }
.fb:hover { background: #3b5998; } .tg:hover { background: #0088cc; } .wa:hover { background: #25d366; } .yt:hover { background: #ff0000; }

.footer-heading { color: #ffffff; font-size: 18px; font-weight: 700; margin-bottom: 20px; border-bottom: 2px solid var(--brand-red); padding-bottom: 10px; display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; font-size: 14px; display: flex; align-items: center; }
.footer-links a i { margin-right: 8px; font-size: 12px; color: var(--brand-red); }
.footer-links a:hover { color: #ffffff; transform: translateX(5px); }

.contact-col p { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; }
.contact-col p i { margin-right: 10px; color: #3b82f6; width: 16px; }
.whatsapp-box { background: #1f2937; padding: 15px; border-radius: 8px; margin-top: 20px; text-align: center; border: 1px solid #374151; }
.whatsapp-box span { display: block; font-size: 13px; margin-bottom: 10px; color: #9ca3af; }
.btn-wa-join { background: #22c55e; color: white; display: block; padding: 10px; border-radius: 6px; font-weight: 600; font-size: 14px; }
.btn-wa-join:hover { background: #16a34a; color: white; }

.footer-bottom { background: #030712; padding: 20px 0; border-top: 1px solid #1f2937; }
.bottom-container { max-width: 1250px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; font-size: 14px; }
.agency-credit a { color: #60a5fa; font-weight: 700; }
.heart { color: var(--brand-red); animation: blink 1.5s infinite; display: inline-block; }

/* --- 7. UTILITIES & ANIMATIONS --- */
.badge-new { background: var(--brand-red); color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; vertical-align: middle; animation: blink 2s infinite; font-weight: bold;}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* --- 8. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .flash-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .btn-premium { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .top-right a { display: none; }
    .top-social { border-left: none; padding-left: 0; }
    
    .main-cols { grid-template-columns: 1fr; }
    .tab-grid { grid-template-columns: 1fr; }
    .data-table td { display: block; width: 100%; box-sizing: border-box; }
    .post-wrapper { padding: 20px; margin: 20px 10px; }
    
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .bottom-container { flex-direction: column; gap: 10px; text-align: center; }
}