/* Custom About Section Styles */
.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-paragraphs {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 2rem;
    position: relative;
    scroll-behavior: smooth;
}

.about-paragraphs::-webkit-scrollbar {
    width: 5px;
}

.about-paragraphs::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 10px;
}

.about-paragraphs::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.about-paragraphs p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-paragraphs p.highlight-paragraph {
    font-weight: 500;
    color: var(--primary-color);
}

.about-paragraphs p:last-child {
    margin-bottom: 0;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* About section entrance animation */
.about-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about-paragraphs {
        max-height: none;
        overflow-y: visible;
    }

} 