.certificate-section {
width: 100%;
background-color: var(--bg);
padding: 80px 80px;
display: flex;
justify-content: center;
align-items: center;
}
.certificate-container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
gap: 24px;
display: flex;
flex-direction: column;
align-items: center;
}
.certificate-card {
max-width: 1280px;
width: 100%;
background-color: var(--white);
border-radius: 20px;
padding: 40px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
box-sizing: border-box;
display: flex;
flex-direction: row;
align-items: center;
gap: 48px;
}
.certificate-img-wrapper {
width: 100%;
max-width: 600px;
flex: 1.2;
order: 1;
}
.certificate-img {
width: 100%;
height: auto;
max-height: 416px;
display: block;
object-fit: contain;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.certificate-content {
flex: 1;
display: flex;
flex-direction: column;
order: 2;
}
.certificate-title {
font-family: 'Archivo Expanded', sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 28px;
letter-spacing: 0%;
color: var(--text);
margin: 0 0 6px 0;
}
.certificate-date {
font-family: 'Poppins', sans-serif;
font-size: 16px;
font-weight: 600;
color: var(--text);
letter-spacing: 0.5px;
margin-bottom: 18px;
}
.certificate-desc {
font-family: 'Poppins', sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 24px;
color: var(--text-sub);
margin: 0;
width: 580px;
} @media screen and (max-width: 768px) {
.certificate-section {
width: 100%;
padding: 40px 20px;
box-sizing: border-box;
}
.certificate-container {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
max-width: 100%;
gap: 16px;
box-sizing: border-box;
}
.certificate-card {
width: 100%;
max-width: 100%;
height: auto;
padding: 16px;
flex-direction: column;
align-items: center;
gap: 20px;
border-radius: 20px;
box-sizing: border-box;
} .certificate-img-wrapper {
order: 1;
width: 100%;
max-width: 600px;
flex: 1.2;
}
.certificate-content {
order: 2;
width: 100%;
display: flex;
flex-direction: column;
}
.certificate-img {
width: 100%;
height: 100%;
max-height: 300px;
display: block;
object-fit: cover;
border-radius: 8px;
}
.certificate-title {
font-size: 18px;
line-height: 24px;
margin-bottom: 4px;
}
.certificate-date {
font-size: 14px;
margin-bottom: 12px;
}
.certificate-desc {
width: 100% !important;
margin-bottom: 12px;
}
}