.about-section {
    padding: 4rem 0;
    background-color: #2b2b2b;
    color: var(--text-light);
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: lightyellow;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    padding: 12px;
    background: lightyellow;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.about-content img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
    max-width: 600px;
}

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

.about-text p {
    color: var(--text-light);
    font-size: 1.22rem;
    text-align: justify;
    margin-bottom: 1.1rem;
    line-height: 2.3rem;
}

.detail-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: lightyellow;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.detail-button:hover {
    transform: translateY(-2px);
}

.about-detail-section {
    padding: 8rem 0 4rem;
    background-color: var(--background-light);
    color: var(--secondary-color);
}

.about-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-detail-content h1 {
    color: var(--secondary-color);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-detail-text p {
    line-height: 1.8;
    font-size: 1.2rem;
    text-align: justify;
}

@media screen and (max-width: 992px) {
    .about-section {
        padding: 2rem 0;
    }

    .about-section h2 {
        margin-bottom: 2rem;
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        padding: 0 1rem;
    }

    .about-section h2 {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }
    .about-detail-content h1 {
        font-size: 25px;
    }

    .about-detail-section {
        padding: 3rem 0 2rem;
        
    }

    .about-detail-text p {
        font-size: 15px;
    }
}

@media screen and (max-width: 450px) {
    .about-content img {
        height: 300px;
    }

    .about-content p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 375px) {
    .about-detail-text p {
        font-size: 13px;
    }

    .about-detail-content h1 {
        font-size: 1.5rem;

    }

    .about-detail-section {
        padding: 3rem 0 2rem;
    }

}