/* ===== ABOUT SECTION STYLES ===== */

/* About Section */
.about {
    padding: 80px 0;
}

.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.about .about-content .about-text h3 span {
    color: var(--skin-color);
}

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.about .about-content .personal-info {
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}

.about .about-content .personal-info .info-item {
    flex: 0 0 50%;
    max-width: 50%;
}

.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
    display: inline-block;
}

.about .about-content .skills {
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}

.about .about-content .skills .skill-item {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    text-transform: capitalize;
}

.about .about-content .skills .skill-item .progress {
    background-color: var(--bg-tertiary);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background: var(--primary-gradient);
}

.about .about-content .skills .skill-item .skill-percent {
    position: absolute;
    right: 0;
    color: var(--text-primary);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}

.about .about-content .education,
.about .about-content .experience {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.about .about-content h3.title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-primary);
}

.about .about-content .timeline-box {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .timeline {
    background-color: var(--bg-secondary);
    padding: 30px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 100%;
    position: relative;
}

.about .about-content .timeline .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item:last-child {
    padding-bottom: 0;
}

.about .about-content .timeline .timeline-item::before {
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background: var(--skin-color);
}

.about .about-content .timeline .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: var(--skin-color);
}

.about .about-content .timeline .timeline-date {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.about .about-content .timeline .timeline-date .fa {
    margin-right: 5px;
}

.about .about-content .timeline .timeline-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-primary);
}

.about .about-content .timeline .timeline-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

/* Button styles for about section */
.about .btn {
    margin-top: 30px;
}

/* Stats section within about */
.about .stats {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 60px;
}

.about .stats .stat-item {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 40px;
}

.about .stats .stat-item .circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 10px solid var(--bg-tertiary);
    margin: auto;
    position: relative;
    overflow: hidden;
}

.about .stats .stat-item .circle .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.about .stats .stat-item .circle .inner h3 {
    font-size: 35px;
    font-weight: 700;
    color: var(--skin-color);
    margin: 0;
    line-height: 1.3;
}

.about .stats .stat-item .circle .inner p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

/* Mobile responsiveness for about section */
@media (max-width: 991px) {
    .about .about-content .personal-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about .about-content .skills {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about .about-content .education,
    .about .about-content .experience {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about .stats .stat-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .about .about-content .personal-info .info-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about .stats .stat-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about .stats .stat-item .circle {
        width: 120px;
        height: 120px;
    }
    
    .about .stats .stat-item .circle .inner h3 {
        font-size: 30px;
    }
    
    .about .stats .stat-item .circle .inner p {
        font-size: 14px;
    }
}
