/* =====================================================
   CCSOL – COMPANY PAGE (FINAL DARK PREMIUM CSS)
===================================================== */

/* ================= ROOT ================= */
#ccsol-company {
    background: #020617;
    color: #e5e7eb;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

/* ================= GLOBAL ================= */
#ccsol-company section {
    padding: 110px 0;
    background: #020617;
}

#ccsol-company section:nth-of-type(even) {
    background: #050b14;
}

#ccsol-company .ccsol-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#ccsol-company h1,
#ccsol-company h2,
#ccsol-company h3 {
    color: #ffffff;
    letter-spacing: -0.4px;
}

#ccsol-company h1 {
    font-size: 56px;
    font-weight: 900;
}

#ccsol-company h2 {
    font-size: 38px;
    margin-bottom: 18px;
}

#ccsol-company h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

#ccsol-company p,
#ccsol-company li {
    color: #9ca3af;
    line-height: 1.8;
}

/* ================= BADGES ================= */
#ccsol-company .company-badge,
#ccsol-company .section-badge,
#ccsol-company .cta-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 999px;
    background: rgba(37,99,235,.15);
    color: #93c5fd;
    border: 1px solid rgba(37,99,235,.35);
}

/* ================= BUTTONS ================= */
#ccsol-company .btn-primary,
#ccsol-company .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

#ccsol-company .btn-primary {
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: #fff;
}

#ccsol-company .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(37,99,235,.35);
}

#ccsol-company .btn-outline {
    border: 1px solid rgba(255,255,255,.25);
    color: #e5e7eb;
}

#ccsol-company .btn-outline:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-3px);
}

/* =====================================================
   HERO
===================================================== */
#ccsol-company .company-hero {
    text-align: center;
    padding: 170px 0 150px;
    background:
        radial-gradient(circle at top, rgba(37,99,235,.25), transparent 60%),
        linear-gradient(180deg, #020617, #050b14);
}

#ccsol-company .hero-logo img {
    max-width: 260px;
    margin: 32px auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,.7));
}

#ccsol-company .company-subtitle {
    font-size: 22px;
    color: #c7d2fe;
    max-width: 860px;
    margin: 0 auto 26px;
}

#ccsol-company .company-description {
    max-width: 820px;
    margin: 0 auto 40px;
}

#ccsol-company .hero-services {
    list-style: none;
    padding: 0;
    margin: 0 0 46px;
}

#ccsol-company .hero-services li {
    display: inline-block;
    margin: 8px 18px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #93c5fd;
    background: rgba(255,255,255,.04);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
}

#ccsol-company .hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* =====================================================
   STATS
===================================================== */
#ccsol-company .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 36px;
    text-align: center;
}

#ccsol-company .stat-item strong {
    font-size: 44px;
    font-weight: 800;
    color: #60a5fa;
}

/* =====================================================
   EXPLORE
===================================================== */
#ccsol-company .explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
    gap: 26px;
}

#ccsol-company .explore-grid a {
    background: linear-gradient(180deg,#020617,#050b14);
    border: 1px solid rgba(255,255,255,.08);
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    color: #e5e7eb;
    transition: .35s;
}

#ccsol-company .explore-grid a:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,.6);
}

/* =====================================================
   GALLERY
===================================================== */
#ccsol-company .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 22px;
}

#ccsol-company .gallery-item img {
    width: 100%;
    border-radius: 16px;
    filter: brightness(.9);
}

#ccsol-company .gallery-item:hover img {
    filter: brightness(1.05);
}

/* =====================================================
   CONTENT SECTIONS (TEXT HEAVY)
===================================================== */
#ccsol-company .company-about p,
#ccsol-company .company-process p,
#ccsol-company .company-industries p {
    max-width: 900px;
}

/* =====================================================
   SERVICES / WHY / PROCESS / INDUSTRIES
===================================================== */
#ccsol-company .services-grid,
#ccsol-company .why-grid,
#ccsol-company .process-grid,
#ccsol-company .industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 36px;
}

#ccsol-company .service-item,
#ccsol-company .why-item,
#ccsol-company .process-step,
#ccsol-company .industry-item {
    background: linear-gradient(180deg,#020617,#050b14);
    border: 1px solid rgba(255,255,255,.08);
    padding: 36px;
    border-radius: 18px;
    transition: .35s;
}

#ccsol-company .service-item:hover,
#ccsol-company .why-item:hover,
#ccsol-company .process-step:hover,
#ccsol-company .industry-item:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,.6);
}

/* =====================================================
   CLIENTS
===================================================== */
#ccsol-company .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 36px;
    align-items: center;
}

#ccsol-company .client-logo img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: .7;
}

#ccsol-company .client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* =====================================================
   CTA
===================================================== */
#ccsol-company .company-cta {
    text-align: center;
    background: linear-gradient(135deg,#2563eb,#1e40af);
}

#ccsol-company .company-cta p {
    color: #e0e7ff;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    #ccsol-company section {
        padding: 80px 0;
    }

    #ccsol-company h1 {
        font-size: 42px;
    }

    #ccsol-company h2 {
        font-size: 30px;
    }

    #ccsol-company .hero-actions {
        flex-direction: column;
    }

    #ccsol-company .btn-primary,
    #ccsol-company .btn-outline {
        width: 100%;
    }
}
/* =====================================================
   FINAL POLISH – CENTER BASED LAYOUT
===================================================== */

/* Force consistent center alignment */
#ccsol-company section {
    text-align: center;
}

/* Limit text width for readability */
#ccsol-company h1,
#ccsol-company h2,
#ccsol-company p,
#ccsol-company .section-badge {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Improve vertical rhythm */
#ccsol-company h2 {
    margin-bottom: 22px;
}

#ccsol-company p {
    font-size: 16px;
    margin-bottom: 22px;
}
/* Center all grids */
#ccsol-company .stats-grid,
#ccsol-company .explore-grid,
#ccsol-company .services-grid,
#ccsol-company .why-grid,
#ccsol-company .process-grid,
#ccsol-company .industries-grid,
#ccsol-company .clients-grid {
    justify-items: center;
}

/* Uniform card width */
#ccsol-company .service-item,
#ccsol-company .why-item,
#ccsol-company .process-step,
#ccsol-company .industry-item {
    max-width: 340px;
    text-align: left;
}
#ccsol-company .company-hero {
    display: flex;
    align-items: center;
}

#ccsol-company .company-hero .ccsol-container {
    max-width: 1000px;
}

#ccsol-company .hero-actions {
    justify-content: center;
}
#ccsol-company .explore-grid a {
    max-width: 220px;
    width: 100%;
}

#ccsol-company .explore-grid strong {
    display: block;
    margin-top: 12px;
    font-size: 16px;
}
#ccsol-company .company-about p,
#ccsol-company .company-process p {
    text-align: center;
    max-width: 900px;
}
#ccsol-company .clients-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#ccsol-company .client-logo {
    display: flex;
    justify-content: center;
}
#ccsol-company .company-cta {
    padding: 120px 0;
}

#ccsol-company .company-cta h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

#ccsol-company .company-cta p {
    font-size: 18px;
    max-width: 720px;
}
@media (max-width: 768px) {
    #ccsol-company section {
        text-align: center;
    }

    #ccsol-company .service-item,
    #ccsol-company .why-item,
    #ccsol-company .process-step,
    #ccsol-company .industry-item {
        max-width: 100%;
    }
}
