/**
 * ============================================================================
 * S.P. Nigam Executive Portal — Engineering Monographs CSS Module
 * File Name     : ./assets/css/monographs.css
 * Description   : Custom styles for the 3x3 monographs portfolio grid, 
 *                 architectural whitepaper cards, badges, and hero banners.
 *
 * @package     S.P. Nigam Executive Portal
 * @author      Satya Prakash Nigam <contact@spnigam.in>
 * @version     4.2.0
 * ============================================================================
 */

/* ============================================================================
   1. HERO & SECTION HEADINGS
   ============================================================================ */
.spn-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.25rem;
    color: #ffffff;
}

.spn-hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.spn-hero-lead {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.spn-badge-pill {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.spn-section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.4rem;
}

/* ============================================================================
   2. MONOGRAPH 3x3 PORTFOLIO GRID CARDS
   ============================================================================ */
.spn-domain-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.spn-domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
}

.spn-domain-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1.35;
}

.spn-domain-text {
    color: #475569;
    line-height: 1.55;
    font-size: 0.9rem;
}

/* ============================================================================
   3. TYPOGRAPHY HELPERS & BORDERS
   ============================================================================ */
.font-serif {
    font-family: 'Lora', serif;
}

.border-dashed {
    border-style: dashed !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

.spn-human-dimension-card {
    background-color: #ffffff;
    border-left: 4px solid #10b981;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
}

/* ============================================================================
   4. RESPONSIVE ADJUSTMENTS
   ============================================================================ */
@media (max-width: 767.98px) {
    .spn-hero-section {
        padding: 1.75rem !important;
    }
    
    .spn-domain-card {
        padding: 1.25rem !important;
    }
}