.about-section {
    padding: 60px 0;
}

.about-img {
    position: sticky;
    top: 96px;
}

.about-section .row {
    align-items: flex-start;
}

.about-us-page-body .about-img {
    top: 96px;
}

.about-img img {
    height: 600px;
    object-fit: cover;
}

.custom-agents-header {

    margin-bottom: 30px;

}

.custom-agents-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.custom-join-agents-link {
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1px;
}

.custom-agent-profile {
    text-align: left;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px;
    border-radius: 8px;
}

.custom-agent-img {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 20px;
}

.custom-agent-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
}

.custom-agent-role {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.custom-social-icons {
    display: flex;
    gap: 10px;
}

.custom-social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    color: white;
}

.social-fb {
    background: #3b5998;

}

.social-ig {
    background: #111111;
}

.social-in {
    background: #0077b5;
}

.social-yt {
    background: #ff0000;
}

.custom-agent-profile:hover {
    background-color: var(--dark);

}

.custom-agent-profile:hover .custom-agent-name {
    color: var(--white);
}

.custom-agent-profile:hover .custom-agent-role {
    color: var(--white);
}

.custom-agents-section {
    padding-bottom: 60px;
}

@media (max-width: 767px) {

    .about-img {
        position: static;
    }

    .about-img img {
        height: 100%;
        object-fit: cover;
    }
.about-section {
    padding: 35px 0;
}

}
@media (max-width: 567px) {
    .about-desc {

    text-align: justify;
}
}

/* Concise About page */
.about-us-page-body .about-section {
    padding: 68px 0 44px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
}

.about-us-page-body .about-img {
    position: relative;
    top: auto;
}

.about-us-page-body .about-img:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 24px -18px -18px 24px;
    border-radius: 18px;
    background: #fff2df;
}

.about-us-page-body .about-img img {
    display: block;
    width: 100%;
    height: clamp(430px, 54vw, 620px);
    border-radius: 18px;
    object-fit: cover;
}

.about-content h2 {
    max-width: 720px;
    margin: 12px 0 20px;
    color: #111827;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.05;
}

.about-content .about-desc {
    max-width: 720px;
    margin: 0 0 14px;
    color: #556172;
    font-size: 17px;
    line-height: 1.75;
    text-align: left;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.about-values article {
    padding: 17px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background: #fff;
}

.about-values i {
    color: #d97706;
    font-size: 22px;
}

.about-values h3 {
    margin: 10px 0 6px;
    color: #111827;
    font-size: 16px;
}

.about-values p {
    margin: 0;
    color: #687386;
    font-size: 13px;
    line-height: 1.55;
}

.about-cta-section {
    padding: 16px 0 66px;
}

.about-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.about-cta-card span {
    color: #f2b45b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-cta-card h2 {
    margin: 5px 0 0;
    color: #fff;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.about-cta-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
}

.about-cta-actions .about-cta-primary {
    border-color: #ea8a14;
    background: #ea8a14;
}

.custom-agents-section {
    padding: 58px 0 72px;
    background: #f7f8fa;
}

.custom-agents-header {
    margin-bottom: 28px;
    text-align: center;
}

.custom-agents-header .section-heading {
    margin-top: 8px;
}

.custom-agent-profile {
    height: 100%;
    padding: 16px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17,24,39,.07);
}

.custom-agent-profile:hover {
    background: #fff;
}

.custom-agent-profile:hover .custom-agent-name {
    color: var(--dark);
}

.custom-agent-profile:hover .custom-agent-role {
    color: #64748b;
}

@media (max-width: 991px) {
    .about-intro-grid,
    .about-values {
        grid-template-columns: 1fr;
    }

    .about-us-page-body .about-img img {
        height: min(620px, 72vw);
    }

    .about-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 567px) {
    .about-us-page-body .about-section {
        padding-top: 38px;
    }

    .about-us-page-body .about-img img {
        height: 380px;
    }

    .about-cta-actions {
        display: grid;
        width: 100%;
    }

    .about-cta-actions a {
        justify-content: center;
    }
}
