:root {
    --primary: #4B008F;
    --text-dark: #222222;
    --text-muted: #666666;
    --white: #ffffff;
    --background: #f7f9fc;
    --border: #e4e8ed;
    --shadow: 0 10px 30px rgba(18, 59, 104, 0.10);
}

.education-section {
    width: 100%;
    padding: 70px 20px;
    background: var(--background);
}

.education-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.education-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.education-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 18px;
    background: #eeeeee;
}

.education-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.education-image:hover img {
    transform: scale(1.04);
}

.education-content {
    width: 100%;
}

.education-content p {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
}

.education-content p:first-child {
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 600;
    padding-left: 18px;
    border-left: 4px solid var(--primary);
}

.education-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {

    .education-section {
        padding: 55px 18px;
    }

    .education-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px;
    }

    .education-image {
        height: 380px;
    }

    .education-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .education-content p:first-child {
        font-size: 17px;
    }

}

@media (max-width: 767px) {

    .education-section {
        padding: 45px 15px;
    }

    .education-grid {
        gap: 25px;
        padding: 20px;
        border-radius: 16px;
    }

    .education-image {
        height: 300px;
        border-radius: 14px;
    }

    .education-content p {
        font-size: 15px;
        line-height: 1.75;
        text-align: left;
    }

    .education-content p:first-child {
        font-size: 16px;
        padding-left: 14px;
    }

}

@media (max-width: 480px) {

    .education-section {
        padding: 35px 12px;
    }

    .education-grid {
        gap: 20px;
        padding: 15px;
        border-radius: 14px;
    }

    .education-image {
        height: 240px;
        border-radius: 12px;
    }

    .education-content p {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.7;
    }

    .education-content p:first-child {
        font-size: 15px;
        line-height: 1.7;
        padding-left: 12px;
        border-left-width: 3px;
    }

}