@charset "utf-8";

/* =====================================================
   SOUHARDA MASTER CORE - coherent.css (Refactored)
   ===================================================== */

:root {
    --navy: #0F2A47;      /* Primary Pattern Color */
    --gold: #DBB61C;      /* Secondary Pattern Color */
    --maroon: #a91010;    /* Deep Maroon to match logo accents */
    --text-grey: #444444; 
    --grid-opacity: rgba(17, 42, 70, 0.07);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

/* THE REPEATING GRID */
body {
    background-color: #ffffff;
    background-image: 
        linear-gradient(var(--grid-opacity) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-opacity) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
}

/* --- THE REPEATING HEADINGS --- 
   Removed !important to allow local page overrides */
h1, .h1-master {
    font-family: 'Mukta', sans-serif;
    color: var(--navy); 
    font-weight: 800;
    text-transform: uppercase;
    font-size: 32px;
}

/* --- SMART BANNER DETECTION --- 
   This automatically fixes your Liquidation & Framework headers */
.page-title h1, 
.banner-section h1,
.liquidation-header h1 {
    color: var(--gold) !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.page-title p,
.banner-section p {
    color: #ffffff !important;
    opacity: 1;
}

/* THE REPEATING HIGHLIGHT */
.gold-accent {
    color: var(--gold);
}

/* THE MASTER HEADER EFFECT */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-family: 'Mukta', sans-serif;
    color: var(--navy);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.section-header .accent-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 12px auto;
}

/* THE MASTER CARD EFFECT */
.master-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(15, 42, 71, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.master-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 42, 71, 0.12);
}

/* THE FEATURE CARD (Dark Navy variant) */
.feature-card-dark {
    background: var(--navy);
    color: #ffffff;
    border-radius: 15px;
    padding: 35px;
}

.feature-card-dark .btn-read {
    background: #ffffff;
    color: var(--navy);
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

/* --- WELCOME SECTION & TYPOGRAPHY --- */
.welcome-section {
    position: relative;
    z-index: 1;
}

.welcome-top-line {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.welcome-subheading {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--navy);
    line-height: 1.4;
}

.welcome-tagline-maroon {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--maroon);
    font-style: italic;
}

.welcome-text-content p {
    color: var(--text-grey);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

/* LOGO POSITIONING */
.logo-pull-up {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.welcome-logo {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

/* MISSION IMPACT SECTION */
.mission-impact-section {
    padding: 120px 20px;
    background: 
        radial-gradient(circle at top right, rgba(209, 101, 7, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(44, 62, 80, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    background-image: 
        linear-gradient(rgba(44, 62, 80, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 62, 80, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.mission-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 25px 50px;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.mission-stat-item i {
    font-size: 1.5rem;
    color: #D16507;
}

/* DATA TABLE & MATRIX STYLES */
.division-label-row td {
    background-color: #cedba8 !important; 
    color: #1a4a8e !important;
    font-weight: 700;
    padding: 10px !important;
    text-align: center;
}

.matrix-container .district-cell {
    border-left: 5px solid #3b82f6 !important;
    padding-left: 20px !important;
    background-color: #fdfdfd;
}

/* ANIMATED PDF LOGIC */
@keyframes pdfPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(220, 53, 69, 0)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(220, 53, 69, 0)); }
}

.pdf-download i {
    display: inline-block !important;
    color: #dc3545;
    animation: pdfPulse 2s infinite ease-in-out;
    vertical-align: middle;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logo-pull-up { margin-top: 0; text-align: center; margin-bottom: 30px; }
    .h1-master { font-size: 24px; }
    .mission-stats-bar { flex-direction: column; border-radius: 20px; padding: 20px; }
}