/* =========================================================
   CEO PAGE – CCSOL (EXECUTIVE FINAL, CLEAN SYSTEM)
========================================================= */

/* ---------- ROOT ---------- */
:root {
    --ccsol-blue-primary: #2563eb;
    --ccsol-blue-muted: rgba(37,99,235,0.35);
    --ccsol-yellow-accent: #facc15;
}

/* ---------- WRAPPER ---------- */
.ccsol-ceo-wrapper {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: #071b26;
    color: #e5e7eb;
    overflow-x: hidden;
    line-height: 1.55;
}

/* ---------- CONTAINER ---------- */
.ccsol-ceo-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */
.ccsol-section-heading {
    text-align: center;
    margin-bottom: 52px;
}

.ccsol-section-heading h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.ccsol-section-heading p {
    font-size: 0.98rem;
    color: #b6c2d1;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =========================================================
   HERO
========================================================= */
.ccsol-ceo-hero {
    padding: 110px 0;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(7,27,38,0.95), rgba(7,27,38,0.85)),
        url("https://ccsol.net/wp-content/uploads/2025/05/StockCake-Securing-Digital-Future_1747149754.jpg")
        center / cover no-repeat;
}

.ccsol-ceo-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.ccsol-ceo-divider {
    width: 80px;
    height: 4px;
    background: var(--ccsol-yellow-accent);
    margin: 18px auto;
}

.ccsol-ceo-hero p {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fde68a;
    font-weight: 600;
    margin: 0;
}

/* =========================================================
   PROFILE SECTION
========================================================= */
.ccsol-ceo-profile {
    padding: 90px 0 120px;
    position: relative;
}

.ccsol-ceo-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
}

/* ---------- PROFILE CARD ---------- */
.ccsol-ceo-card {
    background: #ffffff;
    color: #1f2937;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.ccsol-ceo-header {
    display: flex;
    gap: 32px;
    margin-bottom: 30px;
}

.ccsol-ceo-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #f3f4f6;
}

.ccsol-ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccsol-ceo-name {
    font-size: 2.05rem;
    font-weight: 800;
    color: #0f172a;
}

.ccsol-ceo-title {
    color: var(--ccsol-blue-primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 6px 0 2px;
}

.ccsol-ceo-org {
    color: #6b7280;
    font-size: 0.95rem;
}

/* LinkedIn */
.ccsol-ceo-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ccsol-ceo-social span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0a66c2;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ccsol-ceo-social:hover {
    transform: translateX(4px);
}

/* ---------- BIO ---------- */
.ccsol-ceo-bio p {
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 16px;
    color: #3f4a5a;
}

.ccsol-ceo-extra-content {
    margin-top: 22px;
    border-top: 1px solid #eef2f7;
    padding-top: 18px;
}

.ccsol-ceo-extra-content h4 {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* =========================================================
   MILESTONES (EXECUTIVE TIMELINE)
========================================================= */
.ccsol-milestone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccsol-milestone-list li {
    position: relative;
    padding: 16px 0 20px 0;
}

.ccsol-milestone-list li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--ccsol-blue-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--ccsol-blue-muted);
}

.ccsol-milestone-list strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ccsol-blue-primary);
    display: block;
}

.ccsol-milestone-list span {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--ccsol-blue-primary);
    padding: 3px 10px;
    border-radius: 4px;
    margin: 6px 0;
}

.ccsol-milestone-list em {
    display: block;
    font-style: normal;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 8px;
}

.milestone-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

/* =========================================================
   PROFESSIONAL CREDENTIALS (FULL WIDTH)
========================================================= */
.ccsol-ceo-certifications {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(180deg, #0b1f33, #071b26);
    padding: 120px 0;
}

.ccsol-ceo-cert-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 46px;
    margin-top: 70px;
    align-items: center;
}

.ccsol-ceo-cert-strip img {
    max-height: 70px;
    opacity: 0.75;
    filter: grayscale(100%) brightness(1.25);
    transition: all 0.35s ease;
}

.ccsol-ceo-cert-strip img:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-4px) scale(1.05);
}

/* =========================================================
   CEO INSIGHTS (FULL WIDTH)
========================================================= */
.ccsol-ceo-insights {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(180deg, #071b26, #04131c);
    padding: 120px 0 160px;
}

.ccsol-ceo-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 70px;
}

.ccsol-ceo-post {
    background: linear-gradient(180deg, #0b2533, #081d2b);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.05);
    transition: all 0.3s ease;
}

.ccsol-ceo-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -18px rgba(0,0,0,0.55);
}

.ccsol-ceo-post-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.ccsol-ceo-post-body {
    padding: 26px 26px 30px;
}

.ccsol-ceo-post-date {
    font-size: 0.74rem;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 1px;
}

.ccsol-ceo-post h3 a {
    color: #ffffff;
    text-decoration: none;
}

.ccsol-ceo-post p {
    color: #c1ccd9;
}

.ccsol-ceo-post-link {
    color: var(--ccsol-yellow-accent);
    font-weight: 700;
    font-size: 0.85rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
    .ccsol-ceo-grid { grid-template-columns: 1fr; }
    .ccsol-ceo-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ccsol-ceo-post-grid { grid-template-columns: 1fr; }
    .ccsol-ceo-header { flex-direction: column; text-align: center; }
}
/* =========================================================
   FIX: PROFESSIONAL CREDENTIALS – SINGLE LINE
========================================================= */

.ccsol-ceo-cert-strip {
    display: flex !important;
    flex-wrap: nowrap;                 /* 🔑 force one line */
    justify-content: space-between;    /* even spacing */
    gap: 24px;                         /* reduced gap */
    overflow-x: auto;                  /* safety for small screens */
    padding-bottom: 10px;
}

/* Hide scrollbar (clean executive look) */
.ccsol-ceo-cert-strip::-webkit-scrollbar {
    height: 6px;
}


/* Each certificate */
.ccsol-ceo-cert-strip img {
    flex: 0 0 auto;        /* prevent shrinking */
    max-height: 62px;      /* slightly tighter */
    opacity: 0.8;
}

/* Hover stays elegant */
.ccsol-ceo-cert-strip img:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.06);
}
