/* === ABOUT PAGE SPECIFIC STYLES === */

/* === PROFILE SECTION === */
.content-section .bg-dark .about {
    padding: 0px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content {
    /* Text flows around the image */
    overflow: auto;
}

.profile-content {
    /* Text flows around the image */
    overflow: auto;
}

.network-content {
    /* Text flows around the image */
    overflow: auto;
}

.about-image {
    float: left;
    max-width: 250px;
    margin-right: 40px;
    margin-bottom: 20px;
}

.profile-image {
    float: right;
    max-width: 400px;
    margin-left: 40px;
    margin-right: 0;
    margin-bottom: 20px;
}

.network-image {
    float: left;
    max-width: 450px;
    margin-right: 40px;
    margin-left: 0;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.network-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-text {
    margin-top: 10px;
    /* Text will automatically flow around the floated image */
}

.profile-text {
    margin-top: 10px;
    /* Text will automatically flow around the floated image */
}

/* === SKILLS SECTION === */
.skills-section {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-category {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    color: #4a90e2;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.skill-category ul {
    padding-left: 20px;
}

.skill-category li {
    margin-bottom: 8px;
}

/* === RESPONSIVE DESIGN - ABOUT - small === */
@media (max-width: 768px) {
    .about-image {
        float: none;
        max-width: 50%;
        margin-right: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .profile-image {
        float: none;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .network-image {
        float: none;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* === RESPONSIVE DESIGN - ABOUT - very small === */
@media (max-width: 438px) {
    .about-image {
        float: none;
        max-width: 70%;
        margin-right: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .profile-image {
        float: none;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .network-image {
        float: none;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}