/* --- PAGE LAYOUT --- */
.about-section {
    padding-top: 140px; /* Space for navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* Text gets slightly more space */
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    overflow: visible; 
}

/* --- IMAGE STYLING --- */
.profile-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1.2; /* Forces a perfect rectangular ratio */
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: rotate(-3deg); 
    transition: transform 0.3s ease;
}

.img-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: var(--island-bg); /* Black background from base.css */
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: rotate(3deg);
    z-index: 10;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.floating-badge a:hover {
    color: var(--accent-pop) !important;
}

/* --- TEXT STYLING --- */
.text-content h1 {
    font-size: 4rem;
    margin-bottom: 5px;
    line-height: 1;
    letter-spacing: -2px;
}

.fresh-headline {
    font-size: 1.6rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.3;
}

.bio-text {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.7;
}

.bio-text strong {
    color: var(--text-color);
    font-weight: 700;
}

/* --- STATS GRID --- */
.stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px dashed #ccc;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-pop);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 968px) {
    .about-card {
        grid-template-columns: 1fr; /* Stack vertically */
        text-align: center;
        gap: 40px;
        padding: 2rem;
    }

    .img-wrapper {
        width: 300px;
        margin: 0 auto;
        transform: rotate(0deg);
    }

    .floating-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -15px;
    }

    .stats-grid {
        justify-content: center;
        gap: 20px;
    }
    
    .text-content h1 {
        font-size: 3rem;
    }
    
    .bio-text {
        text-align: left; /* Keep text readable on mobile */
    }
}