/* =========================================
   EDUCATION SECTION
========================================= */

#education {
    position: relative;

    padding: 110px 0;

    background: linear-gradient(to bottom, #f8f5f0 0%, #ffffff 100%);

    overflow: hidden;
}

/* =========================================
   HEADER
========================================= */

.education-header {
    text-align: center;

    max-width: 850px;

    margin: 0 auto 70px auto;
}

.education-subtitle {
    display: inline-block;

    margin-bottom: 16px;

    padding: 10px 18px;

    border-radius: 50px;

    background: rgba(200, 169, 126, 0.12);

    color: #c8a97e;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.education-header h2 {
    font-size: 50px;

    font-weight: 700;

    color: #111;

    margin-bottom: 20px;

    line-height: 1.2;
}

.education-header p {
    font-size: 17px;

    line-height: 1.9;

    color: #666;

    margin: auto;

    max-width: 720px;
}

/* =========================================
   WRAPPER
========================================= */

.education-wrapper {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

/* =========================================
   CARD
========================================= */

.education-card {
    position: relative;

    background: #fff;

    border-radius: 30px;

    padding: 40px 35px;

    overflow: hidden;

    transition: all 0.4s ease;

    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

/* Hover */
.education-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

/* Top Glow */
.education-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(90deg, #c8a97e, #e0c29c);
}

/* =========================================
   ICON
========================================= */

.education-icon {
    width: 80px;
    height: 80px;

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(200, 169, 126, 0.15),
        rgba(200, 169, 126, 0.05)
    );

    margin-bottom: 28px;
}

.education-icon i {
    font-size: 34px;

    color: #c8a97e;
}

/* =========================================
   CONTENT
========================================= */

.education-badge {
    display: inline-block;

    margin-bottom: 16px;

    font-size: 12px;

    font-weight: 700;

    color: #888;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.education-content h3 {
    font-size: 28px;

    font-weight: 700;

    color: #111;

    margin-bottom: 18px;

    line-height: 1.3;
}

.education-content p {
    font-size: 16px;

    line-height: 1.9;

    color: #666;

    margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {
    .education-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    #education {
        padding: 80px 0;
    }

    .education-wrapper {
        grid-template-columns: 1fr;
    }

    .education-header {
        margin-bottom: 50px;
    }

    .education-header h2 {
        font-size: 34px;
    }

    .education-header p {
        font-size: 15px;
    }

    .education-card {
        padding: 30px 25px;
    }

    .education-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .education-header h2 {
        font-size: 28px;
    }

    .education-icon {
        width: 70px;
        height: 70px;
    }

    .education-icon i {
        font-size: 28px;
    }
}
