﻿
.basma-ceo {
    position: relative;
    padding: 105px 20px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(176, 138, 69, 0.09),
            transparent 30%
        ),
        #f8faf8;
    overflow: hidden;
}

.ceo-container {
    max-width: 1180px;
    margin: auto;
}


/* ==========================================
   HEADING
========================================== */

.ceo-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.ceo-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ceo-heading h2 {
    margin: 0;
    color: #173f35;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
    font-weight: 700;
}

.ceo-heading h2 strong {
    display: block;
    color: #b08a45;
}

.ceo-divider {
    width: 65px;
    height: 3px;
    margin: 22px auto;
    background: #b08a45;
    border-radius: 20px;
}

.ceo-heading p {
    margin: 0;
    color: #68756f;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================
   MAIN CEO CARD
========================================== */

.ceo-card {
    display: grid;
    grid-template-columns: 310px 1fr;
    min-height: 650px;
    background: #ffffff;
    border: 1px solid rgba(176,138,69,0.16);
    border-radius: 22px;
    box-shadow: 0 25px 65px rgba(23,63,53,0.10);
    overflow: hidden;
}


/* ==========================================
   PROFILE SIDE
========================================== */

.ceo-profile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 30px;
    background:
        linear-gradient(
            150deg,
            #173f35,
            #24594c
        );
    overflow: hidden;
}

.ceo-profile::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -170px;
    left: -170px;
    border: 1px solid rgba(224,193,127,0.15);
    border-radius: 50%;
}

.ceo-profile::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -150px;
    right: -150px;
    border: 1px solid rgba(224,193,127,0.12);
    border-radius: 50%;
}


/* ==========================================
   CEO PHOTO
========================================== */

.ceo-photo {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 35px;
}

.ceo-placeholder {
    position: absolute;
    z-index: 2;
    inset: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 35% 30%,
            #397161,
            #173f35
        );
    border: 2px solid #e0c17f;
    border-radius: 50%;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.20),
        inset 0 0 30px rgba(255,255,255,0.04);
}

.ceo-placeholder span {
    color: #e0c17f;
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 3px;
}

.ceo-photo-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(224,193,127,0.45);
    border-radius: 50%;
    animation: ceoRotate 15s linear infinite;
}

.ceo-photo-ring::before,
.ceo-photo-ring::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #e0c17f;
    border-radius: 50%;
}

.ceo-photo-ring::before {
    top: 10px;
    left: 50%;
}

.ceo-photo-ring::after {
    bottom: 20px;
    right: 7px;
}

@keyframes ceoRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ==========================================
   PROFILE INFO
========================================== */

.ceo-profile-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ceo-profile-info > span {
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ceo-profile-info h3 {
    margin: 10px 0;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.35;
}

.profile-line {
    width: 40px;
    height: 2px;
    margin: 15px auto;
    background: #e0c17f;
}

.ceo-profile-info p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    letter-spacing: 1px;
}


/* ==========================================
   MESSAGE SIDE
========================================== */

.ceo-message {
    position: relative;
    padding: 55px 60px;
}

.ceo-quote {
    position: absolute;
    top: 20px;
    right: 45px;
    color: rgba(176,138,69,0.12);
    font-family: Georgia, serif;
    font-size: 130px;
    line-height: 1;
}


/* ==========================================
   MESSAGE INTRO
========================================== */

.ceo-intro {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}

.ceo-intro > span {
    color: #b08a45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ceo-intro h3 {
    margin: 9px 0 0;
    color: #173f35;
    font-size: 25px;
    line-height: 1.4;
}

.ceo-intro h3 strong {
    color: #b08a45;
}


/* ==========================================
   MESSAGE TEXT
========================================== */

.ceo-text {
    position: relative;
    z-index: 2;
}

.ceo-text p {
    margin: 0 0 18px;
    color: #68756f;
    font-size: 14px;
    line-height: 1.9;
}

.ceo-text p strong {
    color: #31594e;
}


/* ==========================================
   SIGNATURE
========================================== */

.ceo-signature {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(176,138,69,0.15);
}

.signature-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(176,138,69,0.4);
    border-radius: 50%;
    color: #b08a45;
    font-size: 20px;
}

.signature-info > span {
    display: block;
    color: #a17b3e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.signature-info h4 {
    margin: 4px 0 2px;
    color: #173f35;
    font-size: 15px;
}

.signature-info p {
    margin: 0;
    color: #8a948f;
    font-size: 11px;
}


/* ==========================================
   LEADERSHIP PROMISE
========================================== */

.ceo-promise {
    display: grid;
    grid-template-columns: 60px 1fr 1px 0.8fr;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    padding: 30px 35px;
    background: #173f35;
    border-radius: 15px;
}

.promise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(224,193,127,0.5);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 19px;
}

.promise-content > span {
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.promise-content h3 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 20px;
}

.promise-line {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,0.15);
}

.promise-text p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 950px) {

    .ceo-card {
        grid-template-columns: 250px 1fr;
    }

    .ceo-message {
        padding: 45px 40px;
    }

    .ceo-promise {
        grid-template-columns: 55px 1fr;
    }

    .promise-line {
        display: none;
    }

    .promise-text {
        grid-column: 2;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .basma-ceo {
        padding: 70px 18px;
    }

    .ceo-heading {
        margin-bottom: 45px;
    }

    .ceo-heading h2 {
        font-size: 34px;
    }

    .ceo-heading p {
        font-size: 14px;
    }

    .ceo-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ceo-profile {
        padding: 45px 25px;
    }

    .ceo-photo {
        width: 155px;
        height: 155px;
        margin-bottom: 25px;
    }

    .ceo-placeholder span {
        font-size: 34px;
    }

    .ceo-message {
        padding: 38px 25px;
    }

    .ceo-quote {
        right: 20px;
        top: 10px;
        font-size: 90px;
    }

    .ceo-intro h3 {
        font-size: 21px;
    }

    .ceo-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .ceo-promise {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 27px 23px;
    }

    .promise-text {
        grid-column: auto;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .ceo-heading h2 {
        font-size: 30px;
    }

    .ceo-message {
        padding: 32px 20px;
    }

    .ceo-text p {
        font-size: 12.5px;
    }

    .ceo-profile-info h3 {
        font-size: 20px;
    }

    .ceo-promise h3 {
        font-size: 18px;
    }

}

