/**
 * Chowdhury Group - Corporate Social Responsibility (CSR) Stylesheet
 * File: assets/css/csr.css
 */

/* ==========================================================================
   PAGE BANNER / BREADCRUMB (Identical to al-gilani.php)
   ========================================================================== */
.cg-page-banner {
    position: relative;
    padding: 4rem 0 3.5rem 0;
    background: linear-gradient(135deg, #090d1a 0%, #1e1b4b 60%, #0f172a 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cg-banner-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.cg-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.cg-banner-title {
    font-family: var(--font-heading);
    font-size: 2.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.cg-banner-title span.highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cg-banner-tagline {
    font-size: 1.05rem;
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.cg-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.cg-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cg-breadcrumbs a:hover {
    color: #ffffff;
}

.cg-breadcrumbs i {
    font-size: 0.7rem;
    color: #64748b;
}

.cg-breadcrumbs .current {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ==========================================================================
   CSR OVERVIEW HEADER BOX (Same style as al-gilani.php overview box)
   ========================================================================== */
.cg-concern-header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.75rem;
    margin-bottom: 2.25rem;
    border-bottom: 2px solid var(--border-light);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cg-concern-comp-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.cg-concern-comp-sub {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-600);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cg-concern-est-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
    box-shadow: var(--shadow-sm);
}

.cg-concern-est-badge i {
    color: #10b981;
}

/* ==========================================================================
   CSR PILLARS GRID
   ========================================================================== */
.cg-csr-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cg-csr-pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.cg-csr-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #0284c7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cg-csr-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.cg-csr-pillar-card:hover::before {
    opacity: 1;
}

.cg-csr-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.cg-csr-pillar-card:hover .cg-csr-pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.cg-csr-pillar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.cg-csr-pillar-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.cg-csr-pillar-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px dashed var(--border-light);
    padding-top: 1rem;
}

.cg-csr-pillar-features li {
    font-size: 0.82rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cg-csr-pillar-features li i {
    color: #10b981;
    font-size: 0.75rem;
}

/* ==========================================================================
   FEATURE SPOTLIGHT LAYOUT
   ========================================================================== */
.cg-csr-spotlight {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.cg-csr-spotlight-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.cg-csr-spotlight-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cg-csr-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cg-csr-point-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cg-csr-point-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cg-csr-point-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.cg-csr-point-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.cg-csr-spotlight-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cg-csr-spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cg-csr-spotlight-visual:hover img {
    transform: scale(1.04);
}

.cg-csr-spotlight-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cg-csr-spotlight-badge i {
    color: #10b981;
}

/* ==========================================================================
   CERTIFICATES & ACCREDITATIONS (From Live chowdhurygroup.net/csr/)
   ========================================================================== */
.cg-cert-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.cg-cert-header {
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.cg-cert-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.cg-cert-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cg-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.cg-cert-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.cg-cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
    border-color: #0284c7;
}

.cg-cert-img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.cg-cert-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.cg-cert-card:hover .cg-cert-img-wrap img {
    transform: scale(1.05);
}

.cg-cert-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.cg-cert-issuer {
    font-size: 0.8rem;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cg-cert-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   KEY METRICS STATS BAR
   ========================================================================== */
.cg-csr-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: #0f172a;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #ffffff;
    margin-bottom: 3.5rem;
}

.cg-csr-stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 1rem;
}

.cg-csr-stat-item:last-child {
    border-right: none;
}

.cg-csr-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #10b981;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.cg-csr-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .cg-csr-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cg-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cg-csr-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .cg-csr-stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .cg-page-banner {
        padding: 2.25rem 0 1.75rem 0;
    }

    .cg-banner-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.65rem;
        margin-bottom: 0.6rem;
    }

    .cg-banner-title {
        font-size: 1.45rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
    }

    .cg-banner-tagline {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.65rem;
    }

    .cg-breadcrumbs {
        font-size: 0.75rem;
    }

    .cg-concern-header-box {
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
        gap: 0.85rem;
    }

    .cg-concern-comp-name {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .cg-concern-comp-sub {
        font-size: 0.78rem;
    }

    .cg-concern-est-badge {
        font-size: 0.72rem;
        padding: 0.4rem 0.85rem;
    }

    .cg-csr-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .cg-pillar-card {
        padding: 1rem 0.85rem;
        border-radius: var(--radius-md);
    }

    .cg-pillar-card-title {
        font-size: 0.88rem;
    }

    .cg-pillar-card-desc {
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .cg-cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .cg-cert-card {
        padding: 1rem 0.75rem;
    }

    .cg-cert-name {
        font-size: 0.85rem;
    }

    .cg-csr-spotlight {
        grid-template-columns: 1fr;
        padding: 1.25rem 1rem;
        gap: 1.25rem;
    }

    .cg-csr-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .cg-csr-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.85rem;
    }

    .cg-csr-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }

    .cg-csr-stat-num {
        font-size: 1.5rem;
    }

    .cg-csr-stat-text {
        font-size: 0.72rem;
    }

    .cg-csr-points-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cg-banner-title {
        font-size: 1.3rem;
    }

    .cg-concern-comp-name {
        font-size: 1.15rem;
    }

    .cg-csr-pillars-grid,
    .cg-cert-grid {
        gap: 0.45rem;
    }
}
