
/* Case Study Hub - Exact Marko Asymmetrical Design */
.case-study-hub-section {
    padding: 140px 0;
    background: #000000; /* Pure Black for high contrast */
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 100px;
}

.hub-header-left {
    flex: 6;
}

.hub-header-right {
    flex: 4;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border: 2px solid var(--theme-color1);
    background: transparent;
    border-radius: 50%;
    position: relative;
}

.pill-dot::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--theme-color1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hub-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
}

.hub-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Marko Asymmetrical Grid */
.marko-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.marko-card {
    position: relative;
    height: 550px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: #111;
}

.marko-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.7;
}

.marko-card:hover .marko-card-img {
    transform: scale(1.1);
    opacity: 0.9;
}

.marko-overlay {
    position: absolute;
    inset: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Left Card Style (Content Bottom, Tags Top Right) */
.marko-grid a:nth-child(odd) .marko-overlay {
    justify-content: flex-end;
}

.marko-grid a:nth-child(odd) .marko-tags {
    position: absolute;
    top: 50px;
    right: 50px;
}

/* Right Card Style (Content Top, Tags Bottom Right) */
.marko-grid a:nth-child(even) .marko-overlay {
    justify-content: flex-start;
}

.marko-grid a:nth-child(even) .marko-tags {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.marko-tags {
    display: flex;
    gap: 12px;
}

.marko-tag {
    background: transparent;
    border: 1px solid rgba(255, 170, 23, 0.4);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 50px;
    transition: 0.3s;
}

.marko-card:hover .marko-tag {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: #000;
}

.marko-card-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    max-width: 80%;
}

.marko-card-stat {
    font-size: 18px;
    color: var(--theme-color1);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.marko-card-stat::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--theme-color1);
}

.marko-arrow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 3;
}

.marko-card:hover .marko-arrow {
    transform: translateY(-50%) scale(1);
}

@media (max-width: 991px) {
    .hub-header {
        flex-direction: column;
        gap: 30px;
    }
    .marko-grid {
        grid-template-columns: 1fr;
    }
    .hub-title {
        font-size: 44px;
    }
    .marko-card {
        height: 450px;
    }
}

/* Case Study Details Styles */
.cs-detail-header {
    padding: 100px 0 60px;
    background: #0b0b0f;
    text-align: center;
}

.cs-detail-title {
    font-size: 48px;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 30px;
    font-weight: 700;
}

.cs-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #888;
    font-size: 14px;
}

.cs-meta span i {
    color: #d4af37;
    margin-right: 8px;
}

.cs-container {
    max-width: 1100px;
    margin: -40px auto 80px;
    background: #15151a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.main-proof-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 5px solid #202027;
}

.cs-section {
    margin-bottom: 40px;
}

.cs-section h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cs-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #d4af37;
    border-radius: 2px;
}

.cs-section p {
    color: #ccc;
    font-size: 17px;
    line-height: 1.8;
}

.cs-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.impact-card {
    background: #1a1a21;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.impact-num {
    display: block;
    font-size: 32px;
    color: #d4af37;
    font-weight: 800;
    margin-bottom: 5px;
}

.impact-label {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chronicle-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
}

.chronicle-item::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.chronicle-date {
    color: #d4af37;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.cs-content-img {
    width: 100%;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.cs-sidebar {
    background: #1a1a21;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.cs-cta {
    background: linear-gradient(135deg, #d4af37, #b8962d);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: #000;
    margin-top: 60px;
}

.cs-cta h2 {
    font-weight: 800;
    margin-bottom: 10px;
}

.cs-cta p {
    color: rgba(0,0,0,0.7);
    margin-bottom: 25px;
}

.cs-cta-btn {
    background: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.cs-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Tools Bar Styles */
.tools-bar {
    padding: 60px 0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tools-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: 0.4s;
}

.tools-flex:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.tool-item {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

/* Impact Counter Styles */
.impact-counter-section {
    padding: 120px 0;
    background: #000;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.counter-item {
    padding: 50px 30px;
    border-radius: 30px;
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.03);
    transition: 0.4s;
    text-align: center;
}

.counter-item:hover {
    border-color: var(--theme-color1);
    transform: translateY(-5px);
}

.counter-num {
    display: block;
    font-size: 60px;
    font-weight: 800;
    color: var(--theme-color1);
    margin-bottom: 5px;
    line-height: 1;
}

.counter-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .counter-grid {
        grid-template-columns: 1fr;
    }
}
