/* User Details Page Style - Matching Screenshot */
.user-profile-section {
    background-color: #1a2634;
    /* Dark slate background */
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    padding: 0;
}

.profile-cover-area {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details-area {
    padding-bottom: 15px;
}

.custom-container {
    max-width: 1200px;
}

/* Avatar Styling */
.avatar-box-wrapper {
    margin-top: -110px;
    /* Overlap with cover image */
    /* margin-bottom: 5px; */
    position: relative;
    z-index: 5;
}

.avatar-container {
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    display: inline-block;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.main-avatar {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    object-fit: cover;
}

.verified-icon {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background-color: #f39c12;
    /* Orange badge */
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #1a2634;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* User Info Styling */
.user-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 5px; */
}

.full-name {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-status {
    font-size: 14px;
    font-weight: 400;
    color: #9cb1c5;
    margin-top: 5px;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.linkedin-profile-btn {
    background-color: #f39c12;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.linkedin-profile-btn:hover {
    background-color: #e67e22;
    color: #ffffff;
    transform: translateY(-2px);
}

.options-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

/* Sub Info Styling */
.contact-email {
    color: #f39c12;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    display: block;
    /* margin-bottom: 8px; */
}

.professional-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e1e7ed;
}

.detailed-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #bdc3c7;
    max-width: 900px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .user-top-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .full-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .profile-cover-area {
        height: 140px;
    }

    .avatar-box-wrapper {
        margin-top: -80px;
    }

    .main-avatar {
        width: 130px;
        height: 130px;
    }

    .full-name {
        font-size: 26px;
    }
}

/* Education & Skills Section */
.education-skills-section {
    background-color: #f8f9fa;
    /* Light grey background for contrast */
    padding: 60px 0;
}

.info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.header-icon {
    font-size: 28px;
    color: #f39c12;
}

.skills-svg-icon {
    width: 28px;
    height: 28px;
    color: #f39c12;
    fill: currentColor;
}

.user-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.sub-education-card {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    height: 100%;
}

.inst-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.degree-name {
    font-size: 16px;
    color: #f39c12;
    /* Orange degree name */
    font-weight: 500;
    margin-bottom: 8px;
}

.class-year {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #f39c12;
    color: #f39c12;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: #f39c12;
    color: #ffffff;
}

/* Specific structure adjustments for horizontal alignment */
@media (min-width: 992px) {
    .education-skills-section .container {
        padding-top: 0;
    }
}

/* Experience & Certifications Section */
.experience-certs-section {
    background-color: #f8f9fa;
    padding-bottom: 80px;
}

.exp-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: #fcf4e8;
    /* Very light orange */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
    font-size: 24px;
}

.job-role {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #f39c12;
}

.exp-dates {
    font-size: 15px;
    color: #7f8c8d;
}

.exp-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Certifications */
.cert-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: #f2f5f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
    font-size: 20px;
}

.cert-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cert-meta {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

@media (max-width: 768px) {
    .exp-item {
        flex-direction: column;
    }

    .exp-icon-box {
        margin-bottom: 15px;
    }
}

/* Forum Activity Section */
.forum-activity-section {
    background-color: #f8f9fa;
    padding-bottom: 80px;
}

.forum-question-title {
    color: #f39c12;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.forum-question-title:hover {
    color: #e67e22;
}

.forum-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.forum-meta {
    font-size: 13px;
    color: #7f8c8d;
}

/* Forum Comments */
.comment-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #f2f5f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
    font-size: 18px;
}

.comment-reply-to {
    font-size: 15px;
    color: #7f8c8d;
}

.topic-name {
    color: #333;
    font-weight: 700;
}

.user-comment-text {
    font-size: 15px;
    color: #555;
    font-style: italic;
    padding-left: 15px;
    border-left: 3px solid #f39c12;
    line-height: 1.6;
    margin: 0;
}

.comment-time {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

/* New Certification & Experience Data Styles */
.cert-status-badge {
    background-color: #fcf4e8;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
}

.cert-status-badge p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.cert-status-badge strong {
    color: #333;
}

.btn-view-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #f39c12;
    margin-top: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-cert:hover {
    color: #e67e22;
    text-decoration: underline;
}

.btn-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #f39c12;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    overflow: hidden;
}

.btn-main:hover {
    background-color: #e67e22;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* ── Profile Badges (inline with avatar) ── */
.avatar-inline-badges {
    position: absolute;
    top: 74%;
    right: -73px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 10;
}

.avatar-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    border: 3px solid #1a2634;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: badgeFadeIn 0.5s ease;
}

.avatar-badge:hover {
    transform: scale(1.15);
}

.badge-student-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.badge-verified-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 3px 10px rgba(56, 239, 125, 0.35);
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}