/* Resources Hero Section Styling */
.resources-hero {
   background: linear-gradient(135deg, #0a2540 80%, #b38a38 20%); 
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(59, 130, 246, 0.2); 
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.resources-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.resources-hero p {
    font-size: 18px;
    color: #94a3b8; 
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Quick Filter Tags Styling */
.hero-tags-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.tag-title {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.tags-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-tag {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* एक्टिव और होवर स्टेट */
.filter-tag:hover, 
.filter-tag.active {
    background: #2563eb; /* रॉयल ब्लू बैकग्राउंड */
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .resources-hero {
        padding: 60px 20px;
    }
    .resources-hero h1 {
        font-size: 32px;
    }
    .resources-hero p {
        font-size: 16px;
    }
    .tags-wrapper {
        gap: 8px;
    }
    .filter-tag {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* Resources Cards Grid Section Styling */
.resources-grid-section {
    padding: 80px 20px;
    background-color: #f8fafc; /* हल्का और साफ बैकग्राउंड */
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 कॉलम लेआउट */
    gap: 30px;
}

.resource-main-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* होवर करने पर ऊपर उठने का इफेक्ट */
.resource-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* इमेज बॉक्स स्टाइल (4:3 आस्पेक्ट रेशियो के लिए) */
.resource-img-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.resource-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* इमेज को पूरे बॉक्स में बिना खाली जगह छोड़े फिट रखेगा */
    object-position: center;
}

/* इमेज के ऊपर कैटेगरी टैग */
.resource-badge-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.resource-badge-tag.blog { background-color: #3b82f6; }   /* नीला */
.resource-badge-tag.case { background-color: #10b981; }   /* हरा */
.resource-badge-tag.report { background-color: #f59e0b; } /* पीला */

/* कंटेंट बॉक्स स्टाइल */
.resource-content-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-date {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    display: block;
}

.resource-content-box h3 {
    font-size: 20px;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.resource-content-box p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* टेक्स्ट छोटा-बड़ा होने पर भी बटन एक लाइन में रहेंगे */
}

/* बटन स्टाइल */
.read-more-btn {
    font-size: 15px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.read-more-btn span {
    transition: transform 0.2s ease;
}

.resource-main-card:hover .read-more-btn {
    color: #1d4ed8;
}

.resource-main-card:hover .read-more-btn span {
    transform: translateX(4px); /* होवर पर तीर थोड़ा आगे बढ़ेगा */
}

/* रिस्पॉन्सिव (मोबाइल और टैबलेट के लिए) */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* टैबलेट पर 2 कॉलम */
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .resources-grid-section {
        padding: 50px 15px;
    }
    .grid-container {
        grid-template-columns: 1fr; /* मोबाइल पर 1 कॉलम */
    }
    .resource-img-box {
        height: 200px;
    }
}


/* Unique Toolbox Section Styling */
.toolbox-section {
    padding: 90px 20px;
    background-color: #f1f5f9; /* एक अलग सॉफ्ट बैकग्राउंड जो वाइट सेक्शन से अलग दिखे */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.toolbox-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Styling */
.toolbox-title-box {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.toolbox-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.toolbox-title-box h2 {
    font-size: 34px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 14px;
}

.toolbox-title-box p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

/* Row-based Layout */
.toolbox-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toolbox-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toolbox-item:hover {
    transform: scale(1.01) translateX(5px); /* हल्का सा राइट स्लाइड इफेक्ट */
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Meta Data Box (Type & Size) */
.item-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.file-type {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    letter-spacing: 0.5px;
}

.file-type.pdf { background-color: #ef4444; }   /* रेड फाइल टैग */
.file-type.excel { background-color: #10b981; } /* ग्रीन फाइल टैग */

.file-size {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 500;
}

/* Middle Details Box */
.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 19px;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 6px;
}

.item-details p {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Button Styling */
.download-action-btn {
    background-color: #0f172a; /* प्रीमियम चारकोल ब्लैक बटन */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: 1px solid #0f172a;
}

.download-action-btn:hover {
    background-color: #2563eb; /* होवर होने पर रॉयल ब्लू */
    border-color: #2563eb;
}

.download-action-btn .btn-icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.toolbox-item:hover .download-action-btn .btn-icon {
    transform: translateY(3px); /* बटन का आइकॉन डाउनलोड होते समय नीचे एनिमेट होगा */
}

/* Responsive Layout */
@media (max-width: 850px) {
    .toolbox-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    .item-meta {
        flex-direction: row;
        gap: 12px;
        min-width: auto;
    }
    .file-size {
        margin-top: 0;
    }
    .download-action-btn {
        width: 100%;
        justify-content: center;
    }
    .item-action {
        width: 100%;
    }
}


/* Premium Timeline Section Styling with Brand Colors */
.resources-timeline-section {
    padding: 100px 20px;
    background-color: #0a2540; /* मुख्य बैकग्राउंड डार्क नेवी ब्लू */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Text Area */
.timeline-title-box {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-badge {
    background-color: rgba(179, 138, 56, 0.15); /* गोल्ड कलर का पारदर्शी टच */
    color: #b38a38; /* लक्ज़री गोल्ड */
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 14px;
    border: 1px solid rgba(179, 138, 56, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title-box h2 {
    font-size: 38px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-title-box p {
    font-size: 16px;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto !important; 
    line-height: 1.6;
    text-align: center;
}

/* Timeline Layout Engine */
.timeline-pathway {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* सेंटर वर्टिकल लाइन */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #b38a38 0%, rgba(179, 138, 56, 0.1) 100%);
    transform: translateX(-50%);
    pointer-events: none;
}

/* Individual Node Rows */
.timeline-step-node {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
}

/* हर दूसरा कार्ड राइट साइड में शिफ्ट होगा */
.timeline-step-node.reverse {
    justify-content: flex-end;
}

/* सेंटर का गोल्ड नंबर सर्किल */
.step-number-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background-color: #b38a38; /* गोल्डन बैकग्राउंड */
    color: #0a2540; /* डार्क ब्लू नंबर */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border: 4px solid #0a2540; /* डार्क आउटलाइन ताकि लाइन इसके पीछे छिपे */
    box-shadow: 0 0 15px rgba(179, 138, 56, 0.4);
    z-index: 3;
    transition: all 0.3s ease;
}

/* Card Elements Styles */
.step-content-card {
    width: 45%; /* आधा हिस्सा कवर करेगा */
    background: rgba(255, 255, 255, 0.03); /* बहुत हल्का पारदर्शी ग्लास लुक */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-meta-tag {
    color: #b38a38; /* गोल्ड सब-टैग */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.step-content-card h3 {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content-card p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button inside card */
.timeline-link-btn {
    color: #b38a38;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

/* Hover Interactivity Animations */
.timeline-step-node:hover .step-content-card {
    transform: translateY(-5px);
    border-color: rgba(179, 138, 56, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(179, 138, 56, 0.1);
}

.timeline-step-node:hover .step-number-box {
    background-color: #ffffff;
    box-shadow: 0 0 25px #ffffff;
}

.timeline-step-node:hover .timeline-link-btn {
    color: #ffffff;
    padding-left: 5px;
}

/* Responsive UI Engine for Mobile Displays */
@media (max-width: 850px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    .step-number-box {
        left: 20px;
        transform: translateX(-50%);
    }
    .timeline-step-node, 
    .timeline-step-node.reverse {
        justify-content: flex-end;
    }
    .step-content-card {
        width: calc(100% - 55px); /* मोबाइल पर पूरा फैला हुआ कार्ड */
    }
    .timeline-title-box h2 {
        font-size: 30px;
    }
}


/* Premium Analytics & Impact Grid Styling */
.resources-analytics-section {
    padding: 60px 20px 100px 20px;
    background-color: #f8fafc; /* सफ़ेद/ग्रे बैकग्राउंड जो ऊपर के डार्क सेक्शन से कंट्रास्ट बनाएगा */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* इसके ऊपर का हिस्सा डार्क नेवी से जोड़ने के लिए हम टॉप मार्जिन थोड़ा एडजस्ट कर सकते हैं */
.analytics-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    margin-top: -120px; /* यह ऊपर वाले डार्क सेक्शन के ऊपर फ्लूट (Overlap) करेगा जिससे शानदार इफ़ेक्ट आएगा */
    z-index: 10;
}

/* Main Box with Glass and Shadow Combo */
.analytics-showcase-box {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.12);
    border: 1px solid #e2e8f0;
    display: flex;
    overflow: hidden;
}

/* Left Hero Metric Block (Dark Identity) */
.analytics-metric-hero {
    background-color: #0a2540; /* डार्क नेवी ब्लू */
    padding: 60px 45px;
    width: 38%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

/* Subtle Animated Light Ring */
.glow-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(179, 138, 56, 0.2); /* गोल्डन डैश लाइन */
    border-radius: 50%;
    animation: spinRing 20s linear infinite;
}

@keyframes spinRing {
    100% { transform: rotate(360deg); }
}

.metric-number-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.big-num {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -2px;
}

.gold-plus {
    font-size: 40px;
    font-weight: 700;
    color: #b38a38; /* लक्ज़री गोल्ड */
    margin-left: 4px;
}

.analytics-metric-hero h4 {
    font-size: 18px;
    font-weight: 600;
    color: #b38a38; /* गोल्ड सबहेडिंग */
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.analytics-metric-hero p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Right Feature Items Layout Grid (2x2 Structure) */
.analytics-features-grid {
    width: 62%;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    background-color: #ffffff;
}

.feature-metric-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease;
}

.feature-metric-card:hover {
    transform: translateY(-2px);
}

.feat-icon-box {
    font-size: 24px;
    background: rgba(10, 37, 64, 0.04);
    padding: 12px;
    border-radius: 12px;
    line-height: 1;
    border: 1px solid rgba(10, 37, 64, 0.02);
}

.feat-info h3 {
    font-size: 17px;
    color: #0a2540; /* डार्क नेवी ब्लू टाइटल्स */
    font-weight: 600;
    margin-bottom: 6px;
}

.feat-info p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Structural Adjustments */
@media (max-width: 960px) {
    .analytics-container {
        margin-top: -60px;
    }
    .analytics-showcase-box {
        flex-direction: column;
    }
    .analytics-metric-hero {
        width: 100%;
        padding: 50px 30px;
    }
    .analytics-features-grid {
        width: 100%;
        padding: 40px 30px;
    }
}

@media (max-width: 650px) {
    .analytics-features-grid {
        grid-template-columns: 1fr; /* मोबाइल पर वन कॉलम सूची */
        gap: 30px;
    }
    .big-num {
        font-size: 60px;
    }
}