/* About Section - split layout with simple line frame */
#about {
    width: 100%;
    max-width: none;
    margin: 80px 0;
    padding: 48px 6vw;
    background: transparent;
    color: #303030;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Container splits photo + copy into two columns with a center line */
.about-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Image panel keeps straight edges */
#about .about-image {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #d9d9d9;
    transition: transform 0.25s ease;
}

#about .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#about .about-image:hover {
    transform: translateY(-4px);
}

/* Text with vertical divider */
#about .about-text {
    max-width: 640px;
    border-left: 1px solid #d9d9d9;
    padding-left: 32px;
}

#about h2 {
    font-size: 2.5rem;
    padding-bottom: 12px;
    margin-bottom: 26px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

#about h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 4px;
}

#about h2:hover::after {
    transform: scaleX(1);
}

/* Paragraph */
#about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-top: 15px;
    font-weight: 400;
    font-family: Helvetica, Arial;
}

.resume-inline-url {
    display: block;
    margin-top: 6px;
    color: var(--primary-color);
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.resume-inline-url:hover {
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .resume-inline-url {
        display: inline;
        margin-top: 0;
        margin-left: 10px;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
    }
}

.about-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.resume-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Remove floating background shapes */
#about::before,
#about::after {
    display: none; /* ❌ completely remove floating circle effects */
}

/* Responsive */
@media (max-width: 768px) {
    #about {
        padding: 32px 18px;
        text-align: center;
    }

    #about .about-container {
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: center;
    }

    #about .about-image {
        max-width: 220px;
        aspect-ratio: 1 / 1;
    }

    #about h2 {
        font-size: 2.2rem;
        padding-bottom: 12px;
        margin-bottom: 26px;
    }

    #about p {
        font-size: 1.1rem;
    }
    
    #about h2::after {
        width: 110px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }

    #about .about-text {
        border-left: none;
        padding-left: 0;
    }

    .about-actions {
        justify-content: center;
    }
}

@media (max-width: 320px) {
    #about h2::after {
        max-width: 150px;
        min-width: 60px;
        height: 3px;
    }
}
