* {
    box-sizing: border-box;
    font-family: Montserrat;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    color: #1a1a1a;
}

.container {
    width: 100vw;
    height: 100vh;
    margin: auto;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.portfolio-badge {
    background-color: #1a1a1a;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.9rem 25rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    text-align: center;
    position: relative;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.left {
    flex: 1 1 950px;
}

.left h1 {
    font-size: 2.3rem;
    line-height: 1.1;
    margin-bottom: 1.4rem;
}

.quote {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.buttons .portfolio-btn {
    padding: 0.75rem 4rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 61.004px;
    border: 1.2px solid #000000;
    background: #f97316;
    backdrop-filter: blur(9.15054702758789px);
}

.buttons .hire-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 61.004px;
    border: 1.2px solid black;
    background: #ffffff;
    backdrop-filter: blur(9.15054702758789px);
    text-decoration: none;
}

.portfolio-btn {
    background-color: #f97316;
    color: white;
}

.portfolio-btn:hover {
    background-color: white;
    color: #000000;
}

.hire-btn {
    background-color: #c1c1c1;
    color: #f97316;
}

.right {
    flex: 1 1 400px;
    position: right;
    display: flex;
    justify-content: right;
    align-items: flex-end;
    min-height: 400px;
    width: 100%;
}

.profile-img {
    width: 450px;
    border-radius: 20px;
    position: absolute;
    bottom: -150px;
    right: -50px;
    z-index: 2;
}

.background-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background-color: #fdba74;
    border-radius: 50%;
    z-index: 1;
    right: -100px;
    bottom: -200px;
}

.portfolio-btn {
    list-style: none;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.info {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: left;
    color: #fff;
    z-index: 2;
}

.right-hp{
    display: none;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {

    .container {
        display: flex;
        flex-direction: column;
        align-items: center; /* Ensure elements are centered */
        height: 100%;
        text-align: center;
        padding: 0px;
        overflow-y: scroll;
        gap: 0.4rem;
    }

    .portfolio-badge {
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    .portfolio-badge h2 {
        font-size: 0.7rem; /* Adjusted font size for smaller screens */
    }

    .left {
        flex: 0 1 auto;
        width: 90%;
        padding: 1rem 1rem;
        text-align: center;
    }

    .left h1 {
        font-size: 1.4rem;
        padding: 1rem;
        margin-bottom: 0.2rem;
    }

    .quote {
        font-size: 0.9rem;
        width: 100%;
        margin: 0;
        padding: 0 1rem;
        margin-bottom: 0.1rem;
    }

    .buttons {
        display: none;
    }

    .right-hp {
        display: block;
        height: 70%; /* Adjusted height for smaller screens */
        width: 100%;
        top: 50%;
    }

    .background-shape-hp {
        width: 85vw;
        height: 85vw;
        position: absolute;
        background-color: #f97316;
        border-radius: 50%;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        z-index: 1;
    }

    .profile-img-hp {
        display: block;
        flex-direction: column;
        position: relative;
        width: 70%; /* Adjusted for better responsiveness */
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        margin-top: 1rem;
    }

    .buttons2-hp {
        position:absolute;
        justify-content: center;
        width: 240px;
        left: 50%;
        transform: translateX(-50%);
        text-decoration: none;
        top: 70%;
        z-index: 3;
    }

    .portfolio-btn-hp,
    .hire-btn-hp {
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 3rem;
        padding: 0.5rem 0.2rem;
        display: block;
        text-align: center;
        margin: 0.6rem auto;
        text-decoration: none;
        border: 1.2px solid black;
    }

    .portfolio-btn-hp{
        background-color: #f97316;
        color: white;
    }
    

    .portfolio-btn-hp:hover {
        background-color: #fdba74;
        color: #000000;
    }

    .hire-btn-hp {
        background-color: white;
        color: #f97316;
        border: 1.2px solid #000;
    }

    .right {
        display: none;
    }
}
