/* Container */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Styling */
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    transition: transform 0.3s ease-in-out; /* Faster transition */
}

/* Hover effect */
.about-image img:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

/* Content Styling */
.about-content {
    max-width: 600px;
    margin-top: 5px;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out; /* Faster fade-in animation */
}

.about-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out; /* Faster fade-in animation */
}

/* Bullet Points */
.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content li {
    display: flex;
    align-items: center;
    color: #555;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.5s ease-in-out; /* Faster fade-in animation */
}

.about-content li span {
    color: #e63946;
    margin-right: 0.5rem;
}

/* Keyframe Animation for Faster Fade-In */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .about-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .about-content {
        flex: 1;
        margin-left: 2rem;
        text-align: left;
    }

    .about-content h2,
    .about-content p {
        text-align: left;
    }
}

/* Make modal 80% width on large screens feedback */
@media (min-width: 992px) {
    .modal-xl {
        max-width: 80%;
    }
}

.about-section img {
    max-width: 100%;
    height: auto;
}

.about-section .absolute {
    transform: translate(-50%, -50%);
}
