@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0D1F2E;
    font-family: 'Poppins', sans-serif;
}

a,
ul {
    text-decoration: none;
    list-style: none;
    color:white
}

p {
    color: white
}
img {
    width: 200px;
}
.container {
    width: 70%;
    margin: auto;
}

.hero-section{
    width: 80%;
    margin: auto;
    margin-top: 50px;
    display: grid;
    justify-content: center;
    grid-template-columns:50% 50%;
    gap: 20px;
}


.left {

    user-select: none;
    width: 370px;
    height: 450px;
    background-color: #323332;

    .header {
        border-bottom: 1px solid #6666;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        color: white;

        .header-pic {
            display: flex;
            align-items: center;
            gap: 10px;

            div {
                display: flex;
                align-items: center;
                gap: 10px;

                span {
                    color: white;

                }

                img {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                }
            }
        }
    }

    .content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        width: 80%;

        .profile-info {
            display: flex;
            align-items: center;
            gap: 10px;

            .imgs {
                position: relative;

                img {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                }

                span {
                    position: absolute;
                    bottom: 5px;
                    right: -5px;
                    width: 15px;
                    height: 15px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                    background-color: rgb(91, 119, 255);
                    color: rgba(255, 255, 255, 0.799);
                    font-size: 10px;
                }

            }

            .name {
                h3 {
                    color: white;
                    font-size: 14px;
                }

                h4 {
                    color: rgba(255, 255, 255, 0.384);
                    font-size: 12px;
                }
            }

        }

        .post {
            display: flex;
            flex-direction: column;
            gap: 20px;

            p {
                color: white;
                font-size: 14px;
                line-height: 1.5;

            }



            .charg {
                width: 80%;
                text-align: center;
                height: 200px;
                background-color: #040a0e;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                font-size: 14px;
            }

            .charg-content {
                display: flex;
                text-align: center;
                flex-direction: column;
                gap: 10px;

                h1 {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
font-size: 16px;
color: #fff4ff93;
                    i {
                        color: #207cfdaf;

                    }
                }
                h2{
                    font-size: 28px;
                    .add{
                        font-size: 14px;
                        font-weight:500;
                    }

                }
                button{
                    width: 170px;
                    height: 45px;
                    padding: 10px;
                    background-color: #BED2F3;
                    color: #7894C6;
                    font-size: 14px;
                    font-weight: bolder;
                    border: none;
                    border-radius: 20px;
                    cursor: pointer;
                }
            }
        }
    }
}


.right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    direction: rtl;
    text-align: right;
    p{
        font-size: 16px;
        line-height: 1.5;
        color: white;
    }
    img{
        width: 100%;
        height: 150px;
        border-radius: 10px;
    }
    button{
        width: 100%;
        height: 50px;
        background: linear-gradient(135deg, #4A90D9, #7B5EA7, #D4A853);
        color: #fff;
        font-size: 16px;
        font-weight: bolder;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
    }
    button:hover{
        background: linear-gradient(135deg, #D4A853, #7B5EA7, #4A90D9);
        box-shadow: 0 6px 25px rgba(245, 222, 179, 0.6);
        transform: translateY(-2px);
    }
    h3{
        color: yellow;
        text-align: center;
        font-size: 16px;
    }
}

/* Tablet and medium screens */
@media (max-width: 1024px) {
    .hero-section {
        width: 90%;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .left {
        width: 100%;
        max-width: 500px;
    }

    .right {
        max-width: 500px;
    }
}

/* Small screens / mobile */
@media (max-width: 768px) {
    .hero-section {
        width: 95%;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .left {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .right {
        max-width: 100%;
    }

    .container {
        width: 90%;
    }
}
.under-content{
    padding-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    h1{
        width: 60%;
        margin: auto;
        color: white;
        font-size: 20px;
        font-weight: bolder;
        direction: rtl;
        text-align: right;
    }
    .footer{
        background-color: rgb(57, 156, 255);
        width: 100%;
        height: 50px;
        border-radius: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .under-content h1{
        width: 100%;
    }
}
