/* ---------- Our Works: page title (desktop) ---------- */
#our-works-section {
    width: 632px;
    height: 120px;
    margin: 70px auto 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
 
#our-works-section h1 {
    margin: 0;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    color: var(--primary);
}
 
#our-works-section hr {
    width: 100px;
    height: 2px;
    margin: 0;
    border: 0;
    background: rgba(62, 79, 71, 0.35);
}
 
#our-works-section p {
    margin: 0;
    height: 42px;
    font-size: 16px;
    line-height: 21px;
    font-weight: 500;
    color: var(--text);
}
 
/* ---------- Our Works: projects (desktop) ---------- */
#projects-section {
    width: 1153px;
    margin: 56px auto 70px;
    display: flex;
    flex-direction: column;
    gap: 72px; 
}
 
.project-set {
    height: 371px;
    display: flex;
    align-items: flex-end; 
    justify-content: space-between;
}
 

.project-set-reverse {
    flex-direction: row-reverse;
}
 
.project-image {
    width: 557px;
    height: 371px;
    flex-shrink: 0;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}
 
.project-description {
    width: 515px;  
}
 
.project-description h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--secondary);
}
 
.project-description hr {
    width: 162px;
    height: 2px;
    margin: 16px 0;
    border: 0;
    background: rgba(62, 79, 71, 0.35);
}
 
.project-description p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text);
}
 
/* project 2: text and line aligned to the right */
.project-description-right {
    text-align: right;
}
 
.project-description-right hr {
    margin: 16px 0 16px auto; 
}

@media screen and (min-width: 1024px) and (max-width: 1232px) {
    #projects-section {
        width: 900px;
        margin: 0 auto 70px;
        display: flex;
        flex-direction: column;
        gap: 72px;
    }
    .project-image {
        width: 400px;
        height: 300px;
        flex-shrink: 0;
        display: block;
        object-fit: cover;
        border-radius: 12px;
    }
}