/* ===================================================
   BALIMEEN PRIVATE LIMITED - COMPANY PROFILE & CUSTOMERS CSS
   =================================================== */

:root {
    --cp-primary: #003366;
    --cp-primary-dark: #002244;
    --cp-primary-light: #004d99;
    --cp-accent: #ff6600;
    --cp-accent-hover: #e55c00;
    --cp-accent-light: #fff3eb;
    --cp-dark: #0f172a;
    --cp-slate: #334155;
    --cp-muted: #64748b;
    --cp-light: #f8fafc;
    --cp-white: #ffffff;
    --cp-border: #e2e8f0;
    --cp-card-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    --cp-card-shadow-hover: 0 12px 30px rgba(0, 51, 102, 0.15);
    --cp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
.cp-page-wrapper {
    background-color: #f8fafc;
    color: var(--cp-slate);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Hero & Header Section */
.cp-hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--cp-primary-dark) 0%, var(--cp-primary) 100%);
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.cp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 34, 68, 0.6) 0%, rgba(0, 34, 68, 0.95) 100%);
}

.cp-header-card {
    position: relative;
    background: var(--cp-white);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    padding: 30px;
    margin-top: -80px;
    margin-bottom: 40px;
    border: 1px solid var(--cp-border);
    z-index: 10;
}

.cp-logo-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: var(--cp-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    flex-shrink: 0;
}

.cp-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-title {
    color: var(--cp-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.cp-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: #eef2ff;
    color: var(--cp-primary);
}

.cp-badge.accent {
    background: var(--cp-accent-light);
    color: var(--cp-accent);
}

/* Content Sections */
.cp-section {
    background: var(--cp-white);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: var(--cp-card-shadow);
    border: 1px solid var(--cp-border);
}

.cp-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cp-primary);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--cp-accent);
    border-radius: 2px;
}

/* Info Grid */
.cp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.cp-info-item {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #eef2f6;
}

.cp-info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--cp-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.cp-info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--cp-dark);
    word-break: break-word;
}

/* Highlights / Stats */
.cp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.cp-stat-box {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
}

.cp-stat-box.accent {
    background: linear-gradient(135deg, #ff6600 0%, #e55c00 100%);
}

.cp-stat-number {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.cp-stat-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services & Tags List */
.cp-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cp-tag {
    background: #f1f5f9;
    color: var(--cp-slate);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
}

.cp-tag i {
    color: var(--cp-accent);
}

/* Founder Spotlight Card */
.cp-founder-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 30px;
    margin-bottom: 24px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.cp-founder-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
    flex-shrink: 0;
}

.cp-founder-photo-placeholder {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #003366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    flex-shrink: 0;
}

.cp-founder-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--cp-primary);
    margin-bottom: 4px;
}

.cp-founder-info .designation {
    color: var(--cp-accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

/* Director Cards Grid */
.cp-directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cp-director-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--cp-border);
    padding: 24px;
    text-align: center;
    transition: var(--cp-transition);
    box-shadow: var(--cp-card-shadow);
    display: flex;
    flex-direction: column;
}

.cp-director-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cp-card-shadow-hover);
    border-color: #cbd5e1;
}

.cp-director-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cp-director-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--cp-primary);
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cp-director-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-bottom: 4px;
}

.cp-director-designation {
    font-size: 14px;
    color: var(--cp-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.cp-director-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    background: #f0f4f8;
    color: #475569;
    margin-bottom: 12px;
}

/* Meet Our Customers Showcase Grid */
.customer-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.showcase-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: var(--cp-transition);
    display: flex;
    flex-direction: column;
    padding: 28px;
    position: relative;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 51, 102, 0.12);
    border-color: #cbd5e1;
}

.showcase-logo-box {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.showcase-logo-box img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
}

.showcase-title {
    color: var(--cp-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.showcase-desc {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: center;
}

.showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--cp-primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--cp-transition);
    border: none;
    margin-top: auto;
    width: 100%;
}

.showcase-btn:hover {
    background: var(--cp-accent);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Modal styling for bios */
.cp-bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cp-bio-modal.active {
    display: flex;
}

.cp-bio-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cp-bio-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
}

.cp-bio-modal-close:hover {
    color: #0f172a;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cp-founder-card {
        flex-direction: column;
        text-align: center;
    }
    .cp-header-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .cp-badge-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cp-section {
        padding: 20px;
    }
    .cp-hero-banner {
        min-height: 200px;
    }
    .cp-header-card {
        margin-top: -50px;
        padding: 20px;
    }
    .cp-title {
        font-size: 24px;
    }
    .customer-showcase-grid {
        grid-template-columns: 1fr;
    }
}
