﻿

/* ===== HOME-ABOUT SECTION ===== */
#home-about {
    padding: 60px 0 !important;
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

/* Container Desktop Padding (Replaces ps-lg-4) */
@media (min-width: 992px) {
    #home-about .about-content {
        padding-left: 1.5rem;
    }
}

/* Image Styling & Floating Animation */
#home-about .about-img-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    animation: homeAboutFloat 6s ease-in-out infinite;
    margin-bottom: 25px;
}

@keyframes homeAboutFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

#home-about .about-img-container img {
    width: 100%;
    display: block;
}

/* Headline & Paragraph */
#home-about .about-content h2 {
    font-weight: 800;
    font-size: 1.8rem !important;
    color: #050a18;
    margin-bottom: 15px;
    line-height: 1.2;
}

#home-about .about-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align:justify-all;
}

/* List Styling */
#home-about .about-list {
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    list-style: none !important;
}

    #home-about .about-list li {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 12px;
        font-weight: 600;
        color: #2d3436;
        font-size: 0.9rem;
    }

    #home-about .about-list i {
        margin-right: 15px;
        color: #0d6efd;
        background: #f0f7ff;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        flex-shrink: 0;
        font-size: 16px;
    }

/* Specific Icon Animations */
#home-about .icon-labs {
    animation: biotechSwing 3.5s infinite;
}

#home-about .icon-collab {
    animation: biotechPulse 2.5s infinite;
}

#home-about .icon-grad {
    animation: biotechBounce 3s infinite;
}

#home-about .icon-tech {
    animation: biotechSpin 12s linear infinite;
}

/* Button Styling */
#home-about .btn-rich {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

    /* Button Icon Spacing (Replaces ms-2) */
    #home-about .btn-rich i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    #home-about .btn-rich:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 20px rgba(0, 123, 255, 0.4);
        filter: brightness(1.05);
    }

        #home-about .btn-rich:hover i {
            transform: translateX(4px);
        }

/* Animation Keyframes */
@keyframes biotechSwing {
    0%, 100% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(12deg);
    }
}

@keyframes biotechPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes biotechBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes biotechSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile Specific Overrides */
@media (max-width: 767px) {
    #home-about {
        padding: 40px 15px !important;
    }

        #home-about .about-content {
            padding: 0 5px;
            text-align: left;
        }

        #home-about .about-list li {
            margin-bottom: 10px;
        }
}


