/* Editorial Noir Section */
.editorial-section {
    background: #181818;
    color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    overflow-x: hidden;
}

.editorial-scroll-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2vw 6vw 2vw;
}

.editorial-row {
    display: flex;
    align-items: flex-start;
    min-height: 80vh;
    position: relative;
    margin-bottom: 8vw;
}

.editorial-sticky-heading {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    font-family: 'Outfit', 'Arial Black', sans-serif;
    font-size: clamp(4rem, 14vw, 11rem);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.95;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 24px #000, 0 0 8px #fff2;
    margin-right: 2vw;
    margin-left: 0.5vw;
    white-space: nowrap;
    transition: color 0.2s;
}

.editorial-start {
    color: #fff;
}
.editorial-scale {
    color: #1287dc;
}

.editorial-images {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: flex-end;
    flex-wrap: wrap;
    z-index: 1;
}

.editorial-img {
    max-width: 32vw;
    min-width: 220px;
    height: auto;
    border-radius: 2.5vw;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18), 0 0 0 8px rgba(255,255,255,0.08) inset;
    filter: grayscale(100%) contrast(1.25) brightness(1.1);
    margin-bottom: 2vw;
    margin-top: 2vw;
    object-fit: cover;
    transition: filter 0.3s, box-shadow 0.3s;
}

.editorial-img-2, .editorial-img-4 {
    margin-left: -6vw;
    z-index: 2;
    box-shadow: 0 12px 48px 0 #0008, 0 0 0 8px #fff1 inset;
}

.editorial-img:hover {
    filter: grayscale(0%) contrast(1.1) brightness(1.05);
    box-shadow: 0 16px 64px 0 #1287dccc, 0 0 0 8px #fff3 inset;
}

@media (max-width: 991.98px) {
    .editorial-row {
        flex-direction: column;
        min-height: 60vh;
        margin-bottom: 12vw;
    }
    .editorial-sticky-heading {
        font-size: clamp(2.5rem, 12vw, 6rem);
        top: 60px;
        margin-bottom: 2vw;
    }
    .editorial-images {
        flex-direction: row;
        gap: 2vw;
        justify-content: flex-start;
    }
    .editorial-img {
        max-width: 48vw;
        min-width: 120px;
        margin-left: 0;
    }
    .editorial-img-2, .editorial-img-4 {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .editorial-scroll-container {
        padding: 0 0.5vw 4vw 0.5vw;
    }
    .editorial-sticky-heading {
        font-size: clamp(1.5rem, 10vw, 3.5rem);
        top: 30px;
        margin-bottom: 1vw;
    }
    .editorial-img {
        max-width: 90vw;
        min-width: 80px;
        border-radius: 4vw;
    }
}
/* Bento Statistics Section Grid */
.bento-stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.bento-stats-section .stats-card {
    height: 100%;
    min-height: 200px;
}

@media (max-width: 991.98px) {
    .bento-stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bento-stats-section {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}
.hero-about-section {
            position: relative;
            min-height: 500px;
            background: url('./assets/uploads/cdot/salws.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            color: white;
            padding-top: 120px;
            padding-bottom: 60px;
            overflow: hidden;
        }

        .hero-about-content {
            position: relative;
            z-index: 2;
        }

        @media (max-width: 991.98px) {
            .hero-about-section .glass-panel {
                padding: 1.5rem !important;
                background-color: rgba(10, 10, 10, 0.6) !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                margin-top: 200px;
            }
        
            .hero-about-section .hero-info-overlay {
               
                margin-top: 30px;
                max-width: 80%;
                justify-content: center;
                margin-left: 10%;
                background-color: rgba(10, 10, 10, 0.8) !important;

            }
        }

        .hero-about-section .display-4 {
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-about-section .highlight-pink {
            color: #1287dc;
        }

        .hero-about-section .btn-outline-light {
            border-radius: 25px;
            padding: 10px 25px;
            border: 2px solid white;
            color: white;
            transition: all 0.3s ease;
        }

        .hero-about-section .btn-outline-light:hover {
            background-color: white;
            color: #333;
        }

        .hero-info-overlay {
            position: absolute;
            bottom: 30px;
            right: 30px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-radius: 15px;
            padding: 20px;
            text-align: left;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 300px;
            z-index: 3;
        }

        .hero-info-overlay h3 {
            color: white;
            font-weight: 600;
            font-size: 1.25rem;
            margin: 0 0 8px 0;
        }

        .hero-info-overlay p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            margin: 0;
            line-height: 1.4;
        }

        .hero-about-section .img-fluid {
            border-radius: 15px;
            margin-bottom: 1rem;
        }

        .stat-card {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            margin-bottom: 1rem;
            border: 1px solid #dee2e6;
        }

        .stat-card h3 {
            color: #1287dc;
            /* Pinkish-red color */
            font-weight: bold;
            font-size: 2.5rem;
        }

        .stat-card p {
            color: #6c757d;
            font-size: 0.9rem;
        }

        .what-we-do-section .lead {
            font-size: 1.1rem;
            color: #495057;
        }

        /* What We Do accordion (wwd) styles */
        .wwd-block { display: block; }
        .wwd-block .wwd-accordion { width: 100%; }
        .what-we-do-section .wwd-image { position: relative; }
        .what-we-do-section .wwd-image img { width: 100%; height: auto; }
        .wwd-image img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; }

        /* Headers should be clickable and above overlapping elements */
        .wwd-header { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 12px 14px; background: #fff; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 8px; cursor: pointer; position: relative; z-index: 4; pointer-events: auto; }
        .wwd-header .wwd-title { display: inline-block; }
        .wwd-header[aria-expanded="true"] { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

        /* Use max-height transitions for smooth open/close and explicit display toggling in JS */
        .wwd-panel { display: none; padding: 12px 14px; background: #fff; border-radius: 8px; margin-bottom: 12px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.32s ease, opacity 0.2s ease; }
        .wwd-panel.open { display: block; max-height: 680px; opacity: 1; }
        .wwd-header.open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

        /* Chevron icon rotation */
        .wwd-icon { transition: transform 0.2s ease, color 0.2s ease; color: #6c757d; margin-left: 12px; }
        .wwd-header.open .wwd-icon { transform: rotate(90deg); color: #1287dc; }

        .wwd-header:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
        .wwd-header:focus { outline: none; box-shadow: 0 6px 24px rgba(233,30,99,0.15); }

        /* Gradient underline for selected/open option */
        .wwd-header::before { content: ""; position: absolute; left: 10px; right: 10px; height: 3px; bottom: -6px; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; transform: translateY(-4px); border-radius: 2px; }
        .wwd-header.open::before { opacity: 1; transform: translateY(0); background: linear-gradient(90deg, #1287dc, #FFC107); }

        /* Responsive mobile: collapse image below accordion */
        @media (max-width: 767.98px) {
            .wwd-block { display: block; }
            .wwd-block .wwd-image { margin-top: 18px; }
        }

        .what-we-do-section .btn-link {
            font-weight: bold;
            text-decoration: none;
        }

        .what-we-do-section .btn-link:hover {
            text-decoration: underline;
        }

        /* Desktop columns tuned to approx 40% left / 60% right for what-we-do section */
        @media (min-width: 992px) {
            .what-we-do-section .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
            .what-we-do-section .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
        }

        .team-section .team-member-card {
            border-radius: 15px;
            border: none;
        }

        .team-section .team-member-img {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #E91E63;
            /* Pink border for image */
        }

        .team-section .social-icons a {
            font-size: 1.2rem;
        }

        .team-section .social-icons a:hover {
            color: #E91E63 !important;
            /* Pink hover for social icons */
        }

        .team-section .btn-outline-primary {
            border-color: #007bff;
            /* Standard Bootstrap primary */
            color: #007bff;
        }

        .team-section .btn-outline-primary:hover {
            background-color: #007bff;
            color: white;
        }

        /* Members Catalog Overlay */
        .members-catalog,
        .results-card {
            position: relative;
            overflow: hidden;
        }

        .members-catalog .overlay-stat,
        .results-card .overlay-stat {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(233, 30, 99, 0.2);
        }

        .members-catalog .overlay-stat h3,
        .results-card .overlay-stat h3 {
            color: #0070c8;
            font-weight: bold;
            font-size: 2rem;
            margin: 0;
        }

        .members-catalog .overlay-stat p,
        .results-card .overlay-stat p {
            color: #6c757d;
            font-size: 0.85rem;
            margin: 0;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .hero-about-section {
                min-height: auto;
                padding-top: 120px;
                padding-bottom: 20px;
                display: flex;
                flex-direction: column;
                align-items: stretch !important;
                justify-content: flex-start !important;
            }
            
            .hero-about-section .container {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            .hero-about-section .display-4 {
                font-size: 1.75rem;
            }
            
            /* Mobile: Display glass-panel and Info Overlay in column */
            .hero-about-section .container .row {
                flex-direction: column !important;
                align-items: stretch !important;
            }
            
            .hero-about-section .hero-about-content {
                width: 100% !important;
                max-width: 100% !important;
                flex: 0 0 100% !important;
                margin-top: 0;
            }
            
            .hero-about-section .hero-about-content .glass-panel {
                padding: 1.5rem !important;
                background-color: rgba(10, 10, 10, 0.6) !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .hero-info-overlay {
                position: relative !important;
                bottom: auto !important;
                right: auto !important;
                left: auto !important;
                top: auto !important;
                margin: 15px 0 0 0;
                max-width: 100%;
                width: 100%;
                padding: 15px;
                display: block !important;
                background: rgba(255, 255, 255, 0.95) !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .hero-info-overlay h3 {
                font-size: 1.1rem;
            }

            .hero-info-overlay p {
                font-size: 0.85rem;
            }
        }
        
        /* Glass panel dark overlay style (matching insights page, no blur) */
        .glass-panel {
            background-color: rgba(10, 10, 10, 0.6) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        /* Statistics Cards */
        .stats-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .stats-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        }

        .circular-progress {
            position: relative;
        }

        .chart-container {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .growth-visual {
            animation: growthAnimation 2s ease-in-out infinite alternate;
        }

        @keyframes growthAnimation {
            0% {
                opacity: 0.7;
            }

            100% {
                opacity: 1;
            }
        }

        /* Store Owner Section Styles */
        .store-owner-section {
            background-color: #f8f9fa;
        }

        .store-owner-content h2 {
            color: #2d3748;
            font-weight: 700;
        }

        .contact-form-card {
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .avatar-group {
            display: flex;
        }

        .avatar-group img {
            border: 2px solid white;
            margin-left: -8px;
        }

        .avatar-group img:first-child {
            margin-left: 0;
        }

        .stars i {
            font-size: 1.1rem;
        }

        .reviews-section .text-muted {
            font-size: 14px;
        }