.profile-section {
    padding: 100px 0;
    background-color: #f4f5f0;
    font-family: 'Exo', sans-serif;
}

.profile-container {
    display: flex;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    min-height: 650px;
}

/* Left Column: Image */
.profile-image-col {
    flex: 0 0 50%;
    position: relative;
    background: #343334;
    padding: 0;
}

.profile-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Middle Column: Stats */
.profile-stats-col {
    background: #f8f2eb;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    transition: transform 0.3s ease;
}

.stat-item-box:hover {
    transform: translateY(-5px);
}

.stat-visual-wrap {
    width: 125px;
    height: 125px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* Base ring */
.stat-visual-wrap svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-visual-wrap .base-circle {
    fill: none;
    stroke: rgba(216, 172, 47, 0.15);
    stroke-width: 6;
}

.stat-visual-wrap .progress-circle-val {
    fill: none;
    stroke: #d8ac2f;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.stat-number-wrap {
    position: absolute;
    display: flex;
    flex-direction: row;
    /* Changed from column to row */
    align-items: baseline;
    /* Align to text baseline */
    justify-content: center;
}

.stat-number-wrap h2 {
    font-size: 26px;
    /* Increased slightly */
    font-weight: 700;
    color: #343334;
    margin: 0;
    line-height: 1;
}

.stat-number-wrap span {
    font-size: 18px;
    /* Increased plus sign size for better visibility inline */
    font-weight: 700;
    color: #d8ac2f;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Right Column: Content */
.profile-content-col {
    flex: 1;
    padding: 50px 25px;
    position: relative;
    background: #ffffff;
}

.profile-socials {
    position: absolute;
    bottom: 15px;
    /* Aligned with footer tag */
    left: 25px;
    display: flex;
    gap: 15px;
}

.profile-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fbecc2;
    color: #343334;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}

.profile-socials a:hover {
    background: #d8ac2f;
    color: #fff;
    transform: rotate(360deg);
}

.profile-name {
    font-size: 36px;
    font-weight: 700;
    color: #343334;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.profile-title {
    font-size: 18px;
    font-weight: 600;
    color: #d8ac2f;
    margin-bottom: 40px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-subheading {
    font-size: 22px;
    font-weight: 700;
    color: #343334;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.profile-subheading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: #d8ac2f;
}

.education-list {
    margin-bottom: 20px;
}

.edu-item {
    display: flex;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(52, 51, 52, 0.1);
}

.edu-year {
    font-weight: 700;
    color: #d8ac2f;
    min-width: 60px;
    font-size: 16px;
}

.edu-info {
    flex: 1;
    /* margin-left: 20px; */
}

.edu-degree {
    font-weight: 700;
    color: #343334;
    font-size: 16px;
    display: block;
}

.edu-inst {
    color: #222;
    font-size: 14px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    font-family: "Heebo", serif;
}

.profile-footer-tag {
    position: absolute;
    bottom: 15px;
    right: 40px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
    text-transform: lowercase;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .profile-container {
        flex-direction: column;
    }

    .profile-image-col,
    .profile-stats-col,
    .profile-content-col {
        flex: 1 1 100%;
    }

    .profile-stats-col {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 40px;
    }

    .stat-item-box {
        flex: 1;
        min-width: 140px;
        /* Reduced min-width to fit smaller screens better */
        margin-bottom: 20px;
    }

    .stat-visual-wrap {
        width: 110px;
        /* Scale down slightly on mobile */
        height: 110px;
    }

    .stat-number-wrap h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .profile-content-col {
        padding: 50px 30px;
    }

    .profile-name {
        font-size: 40px;
    }
}

.stat-label-text {
    color: #222;
    font-weight: 600;
}

@media (max-width: 575px) {
    .profile-name {
        font-size: 32px !important;
        text-align: center;
    }

    .profile-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .profile-socials {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-top: 40px;
        justify-content: center;
        width: 100%;
    }

    .profile-footer-tag {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        text-align: center;
        margin-top: 15px;
        display: block;
        width: 100%;
    }

    .profile-content-col {
        padding: 40px 20px 60px !important;
    }
}