/* =============================================
   about-us.css - About Section
   ============================================= */

.about-box {
    max-width: 1400px;
    margin: 0 auto;
    
    display: grid;
    grid-template-rows: auto auto 1fr auto ;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "pic title" "pic subtitle" "pic descrip" "pic button";
    
    align-items: center;
}

.about-image-box {
    grid-area: pic;

    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-box:hover .about-image {
    transform: scale(1.03);
}

.about-descrip-box {
    grid-area: descrip;
    padding: 20px 40px;
    align-self: start;
}

.about-descrip-item {
    font-size: 1rem;
    line-height: 1.2;
    
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    padding: 0.5rem;
}

.about-descrip-item:last-child {
    margin-bottom: 0;
}

.about-box .cta-primary {
    grid-area: button;
    width: 80%;
    justify-self: center;

}
/* =============================================
   RESPONSIVE - Mobile
   ============================================= */

@media (max-width: 992px) {
    .about-box {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "pic"
            "title"
            "subtitle"
            "descrip";
        gap: 35px;
    }

    .about-image-box {
        max-width: 520px;
        margin: 0 auto;
    }

    .about-descrip-box {
        padding: 10px 20px 0;
    }
}

@media (max-width: 768px) {
    .about-box {
        gap: 28px;
    }

    .about-descrip-item {
        font-size: 1.02rem;
        line-height: 1.72;
    }
}

@media (max-width: 576px) {
    .about-box {
        padding: 0 16px;
        gap: 24px;

        display: grid;
        grid-template-rows: auto auto 1fr auto ;
        grid-template-columns: 1fr ;
        grid-template-areas: "pic" "title" "subtitle" "descrip" "button";
    
    }

    .about-descrip-box {
        padding: 0 10px;
    }

    .about-descrip-item {
        font-size: 1rem;
        line-height: 1.3;
        text-align: justify;
        text-justify: inter-word;
    }
}