.section-d {
    display: flex;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
    padding: 3rem 0;
    background: var(--background2);
}

.section-d-content {
    display: flex;
    max-width: 1080px;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.section-d-text {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 350px;
    min-width: 280px;
    box-sizing: border-box;
    padding: 3rem;
    border-radius: 12px;
    align-items: center;
}

.section-d-text h2 {
    color: black;
    margin-bottom: 1rem;
    position: relative;
}

.section-d-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--main);
    margin: 12px 0 0 0;
    border-radius: 2px;
}

.section-d-text p {
    color: #444;
    margin-top: 1rem;
}

.section-d-image {
    display: flex;
    flex: 1 1 300px;
    max-width: 250px;
    overflow: hidden;
    border-radius: 6px;
    box-sizing: border-box;
    align-items: center;
}

.section-d-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.6s ease;
}


.section-d a {
    background-color: var(--main);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 2px;
    width: fit-content;
    transition: background 0.3s;
}

.section-d a:hover {
    background-color: #a00000;
}
