/*
* Stylesheet for the About Page (about_detail.html)
*/

.about-detail-section {
    background-color: #000;
    color: #fff;
    padding: 120px 20px;
    font-family: 'Poppins', sans-serif;
}

.about-detail-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-header-1 {
    text-align: center;
    margin-bottom: 60px;
}

.about-header-1 .main-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}

.about-header-1 .subtitle {
    font-size: 1rem;
    color: #aaa;
    margin-top: 10px;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
}

.about-image-box {
    flex: 1 1 280px;
    text-align: center;
}

.about-profile-image {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.about-profile-image:hover {
    transform: scale(1.05);
}

/* --- Your existing styles --- */
.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icons a {
    font-size: 1.4rem;
    color: #fff;
    /* Added this to make transform stable */
    display: inline-block; 
}

.social-icons a [class*="fa-"] {
    /* --- THIS IS THE FIX --- */
    /* We add 'transform' to the transition */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* --- FIX 1: For Desktop Hover --- */
@media (hover: hover) {
    /* Added transform here for consistency */
    .social-icons a:hover .fa-instagram {
        color: #E4405F;
        transform: translateY(-5px);
    }
    .social-icons a:hover .fa-twitter {
        color: #1DA1F2;
        transform: translateY(-5px);
    }
    .social-icons a:hover .fa-youtube {
        color: #FF0000;
        transform: translateY(-5px);
    }
    .social-icons a:hover .fa-linkedin {
        color: #0A66C2;
        transform: translateY(-5px);
    }
}

/* --- FIX 2: For Mobile Tap Feedback --- */
.social-icons a:active .fa-instagram {
    color: #E4405F;
    transform: translateY(-5px); /* --- ADDED THE "POP" --- */
}
.social-icons a:active .fa-twitter {
    color: #1DA1F2;
    transform: translateY(-5px); /* --- ADDED THE "POP" --- */
}
.social-icons a:active .fa-youtube {
    color: #FF0000;
    transform: translateY(-5px); /* --- ADDED THE "POP" --- */
}
.social-icons a:active .fa-linkedin {
    color: #0A66C2;
    transform: translateY(-5px); /* --- ADDED THE "POP" --- */
}

.about-text-box {
    flex: 2 1 500px;
}

.greeting-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

/* ==========================================================================
   Responsive Styles for About Page
   ========================================================================== */

/* --- Mobile Devices and Tablets (<= 768px) --- */
@media (max-width: 768px) {
    .about-detail-section {
        padding: 100px 20px;
    }

    .about-header-1 .main-title {
        font-size: 2.5rem;
    }

    .about-content-wrapper {
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        text-align: center;
    }

    .about-profile-image {
        width: 220px;
        height: 220px;
    }

    .greeting-heading {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
        text-align: left;
        line-height: 1.5rem;
    }

    .about-header-1 {

        margin-bottom: 40px;
    }


}

/* --- Small Mobile Devices (<= 480px) --- */
@media (max-width: 480px) {
    .about-header-1 .main-title {
        font-size: 2rem;
    }

    .about-profile-image {
        width: 180px;
        height: 180px;
    }

    .greeting-heading {
        font-size: 1.3rem;
    }

    .about-description {
        font-size: 0.95rem;
        text-align: left;
    }

    .about-header-1 {

        margin-bottom: 33px;
    }
    .about-content-wrapper {
        flex-direction: row;
        
    }
}