/*
Theme Name: Districts NIC Theme
Theme URI: https://driverassociationofbihar.com
Description: Ultimate Eye-Catching Professional Theme for Driver Association of Bihar. High density, luxury feel, and fully responsive.
Author: Antigravity
Version: 8.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;700;800;900&display=swap');

:root {
    --primary: #001e3c;
    /* Midnight Deep Blue */
    --primary-light: #003262;
    --secondary: #c5a059;
    /* Metallic Gold */
    --accent: #22c55e;
    /* Success Green */
    --warning: #ef4444;
    /* Critical Red */
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- SUPER TOP BAR --- */
.top-notice {
    background: linear-gradient(90deg, #001529 0%, #003366 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1001;
}

.top-notice-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-notice a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 800;
    margin-left: 15px;
}

/* --- EYE-CATCHING HEADER --- */
.site-header {
    background: var(--white);
    padding: 24px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branding-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.emblem-shield {
    height: 85px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.branding-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.branding-text p {
    font-size: clamp(12px, 2vw, 14px);
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* --- LUXURY NAV --- */
.nav-holder {
    background: var(--primary);
    border-bottom: 4px solid var(--secondary);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li a {
    display: block;
    padding: 20px 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.main-nav li a:hover {
    background: var(--primary-light);
    color: var(--secondary);
}

/* --- CINEMATIC HERO --- */
.hero-premium {
    height: 550px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://driverassociationofbihar.in/portal/public/assets/images/hero_bihar.jpg') center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero-inner {
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.hero-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-inner p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-luxury {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background: var(--secondary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- BENTO MODERN GRIDS --- */
.main-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.bento-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
}

.card-label {
    background: var(--primary);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--primary);
}

.span-large {
    grid-column: span 8;
}

.span-small {
    grid-column: span 4;
}

.span-full {
    grid-column: span 12;
}

/* --- SIDEBAR COMPONENTS --- */
.side-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-weight: 900;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--border);
}

/* --- FOOTER EXCELLENCE --- */
.site-footer {
    background: #000c17;
    color: #94a3b8;
    padding: 100px 0 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand h4 {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-list a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.official-seal {
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary);
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {

    .span-large,
    .span-small {
        grid-column: span 12;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}