/*Home Page*/
/* ahsan info section */
.home {
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
}

.ahsan-info {
    width: 50%;
}

.ahsanur {
    color: #02eeff;
}

.ahsan-info h1,
.ahsan-info h3 {
    color: #55c3d1;
}

.text-animate h2 {
    color: #8fbbe9;
    font-size: 2.5rem;
    margin: 10px 0 10px 0;
}

.ahsan-info p {
    color: rgb(178, 172, 165);
    font-size: 1.375rem;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 10px;
}

.btn-box {
    margin-top: 20px;
}

.home .btn {
    background-color: #007bff;
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.social-media {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.bg-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bg-icon a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.bg-icon:hover {
    background-color: #0056b3;
}

.bg-icon:hover span {
    width: 120%;
    height: 120%;
}

.bg-icon:hover a {
    color: #ffdc00;
    transition: color 0.3s ease-in-out;
}

.img-ahsan {
    position: relative;
}

.img-ahsan img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(250, 123, 208, 0.516);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-ahsan img:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(251, 0, 159, 0.526);
}

/* Styles for screens 768px and below */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        padding: 10px 5%;
    }

    .ahsan-info {
        width: 100%;
        text-align: center;
    }

    .text-animate h2 {
        font-size: 2rem;
    }

    .ahsan-info p {
        font-size: 1.2rem;
    }

    .home .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .social-media {
        justify-content: center;
    }

    .bg-icon {
        width: 40px;
        height: 40px;
    }

    .bg-icon a {
        font-size: 20px;
    }

    .img-ahsan img {
        width: 300px;
        height: 300px;
    }
}

/* Styles for screens 480px and below */
@media (max-width: 480px) {
    .home {
        padding: 10px 2%;
    }

    .text-animate h2 {
        font-size: 1.5rem;
    }

    .ahsan-info p {
        font-size: 1rem;
    }

    .home .btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .bg-icon {
        width: 35px;
        height: 35px;
    }

    .bg-icon a {
        font-size: 18px;
    }

    .img-ahsan img {
        width: 250px;
        height: 250px;
    }
}