.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-black-900);
}

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

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
}

.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: 51%;
}

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

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

.about .about-content .personal-info .buttons {
    margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
    margin-top: 10px;
    margin-right: 15px;
}


.about .about-content .education {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
    color: var(--text-black-900);
}

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

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

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

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

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

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

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

@media (max-width: 767px) {
    .about .about-content .personal-info,
    .about .about-content .skills,
    .about .about-content .education{
        flex: 0 0 10%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about .about-content .personal-info .info-item {
        width: 100%;
    }
    .skills .row {
        flex-direction: column;
    }

    .about .about-content .about-text h3 {
        font-size: 20px;
    }

    .about .about-content .about-text p {
        font-size: 14px;
    }

    .timeline-item {
        padding-left: 0;
    }
}

@media (max-height: 576px) {
    .about .about-content .about-text h3 {
        font-size: 18px;
    }

    .about .about-content .about-text p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Skills Section */
.about .about-content .skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

/* Skill column for better flexibility */
.skill-column {
    flex: 0 0 48%; /* Adjusted to take up 48% width, fits two columns on larger screens */
    margin-bottom: 20px;
}

.about .about-content .skills .skill-item {
    width: 100%; /* Ensure the skill item takes full width of the column */
    margin-bottom: 25px;
}

.about .about-content .skills .skill-item h5 {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-black-900);
    margin-bottom: 10px; /* Added spacing */
}

.about .about-content .skills .skill-item .progress {
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 500px;
    position: relative;
    overflow: hidden; /* Prevent overflow of the progress bar */
}

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

.about .about-content .skills .skill-item .skill-percent {
    position: absolute;
    right: 0;
    top: -30px; /* Adjusted to sit above the progress bar */
    color: var(--text-black-900);
    font-weight: 400;
    line-height: 30px;
    font-size: 14px; /* Adjusted for smaller screens */
}

/* Responsive styling for smaller screens */
@media (max-width: 767px) {
    .about .about-content .skills {
        flex-direction: column; /* Stack items vertically */
    }

    .about .about-content .skills .skill-item .progress{
        width: 100%;
    }

    .skill-column {
        flex: 0 0 100%; /* Each skill column will take full width on smaller screens */
        margin-bottom: 20px;
    }

    .about .about-content .skills .skill-item h5 {
        font-size: 14px; /* Slightly smaller text on smaller screens */
    }

    .about .about-content .skills .skill-item .progress .skill-percent {
        top: -25px; /* Adjusted for better alignment on smaller screens */
    }
}
