/* Profile Section */
.profile-container {
    position: relative;
    height: 250px;
    margin-top: -250px; /* Adjust as needed to overlap the banner */
    margin-left: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    background: linear-gradient(135deg,rgba(0, 0, 0, 0.4) 50%, transparent 40%);
    width: 1100px;
    z-index: 2; /* Profile is above the banner */
}

/* Profile Image */
.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-right: 30px;
    border: 4px solid #ffffff;
}

/* Text Styling */
.profile-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.profile-text p {
    font-size: 1.2rem;
    color: white;
}

/* Social Icons */
.social-icons a {
    font-size: 2.5rem;
    margin: 0 15px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.social-icons .linkedin-icon, a.github-icon {
    color: #ffffff;
}

.social-icons a:hover {
    transform: scale(1.3);
    color: #00cc99;
}
/* Banner Container (Behind the Profile) */
.banner-container {
    position: relative;
    width: 100%;
    height: 250px; /* Adjust height based on your banner size */
    overflow: hidden;
    z-index: 1; /* Set behind the profile */
}

/* Media Queries for Small Screens */
@media (max-width: 768px) {
    /* Banner Container (Behind the Profile) */
    .banner-container {
        position: relative;
        width: 100%;
        height: 400px; /* Adjust height based on your banner size */
        overflow: hidden;
        z-index: 1; /* Set behind the profile */
    }
    .profile-container {
        display: block;
        text-align: center;
        justify-content: center;
        height: 400px;
        margin-top: -400px; /* Adjust as needed to overlap the banner */
        background: rgba(0, 0, 0, 0.4); /* Remove gradient and use solid background */
        padding: 20px;
        width: 100%; /* Make sure it takes up the full width */
    }

    .profile-img {
        margin: 0 auto 20px; /* Center the image and add spacing */
    }

    .profile-text h1 {
        font-size: 2rem; /* Adjust text size for smaller screens */
    }

    .profile-text p {
        font-size: 1rem; /* Adjust text size for smaller screens */
    }

    /* Social Icons Centered */
    .social-icons {
        margin-top: 15px; /* Add spacing at the top */
    }
}