﻿/* About Section */
.about-section {
    position: relative;
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    text-align: left;
    background: linear-gradient(-45deg, #6a11cb, #2575fc /*, #ff7e5f*/, #feb47b);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-content {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 60px 50px;
    border-radius: 20px;
    max-width: 1000px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

    .about-content h2 {
        font-size: 2.8rem;
        margin-bottom: 40px;
        text-align: center;
        font-weight: 700;
        letter-spacing: 1px;
    }

/* Two-column layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-item {
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

    .about-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .about-item:nth-child(2) {
        animation-delay: 1s;
    }

    .about-item:nth-child(3) {
        animation-delay: 2s;
    }

    .about-item:nth-child(4) {
        animation-delay: 3s;
    }

    .about-item i {
        color: #ffeaa7;
        font-size: 1.5rem;
        margin-right: 15px;
        min-width: 30px;
        text-align: center;
        background-color: rgba(255,255,255,0.15);
        padding: 10px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .about-item p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin: 0;
    }

/* Fade-in keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient background animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr; /* single column on tablets */
    }

    .about-item i {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 15px;
    }

    .about-content {
        padding: 40px 25px;
    }

        .about-content h2 {
            font-size: 2rem;
        }

    .about-item p {
        font-size: 1rem;
    }

    .about-item i {
        font-size: 1.3rem;
        padding: 8px;
        min-width: 25px;
    }
}
