/* =========================================
   RESUME SECTION
========================================= */

.resume-section {
    width: 100%;
    background: #ffffff;
    padding: 50px 4%;
    box-sizing: border-box;
    color: #333333;
}

.resume-content {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================
   RESUME HEADING
========================================= */

.resume-header {
    text-align: center;
    margin-bottom: 40px;
}

.resume-header h2 {
    color: #000000;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.resume-header h2::after {
    content: "";
    display: block;

    width: 70px;
    height: 3px;

    background: #000000;

    margin: 10px auto 0;

    border-radius: 5px;
}

.resume-header p {
    color: #555555;
    font-size: 16px;
    text-align: center;

    margin: 12px 0 0;
}


/* =========================================
   3 COLUMN GRID
========================================= */

.resume-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================
   COMMON BOX
========================================= */

.resume-card {
    width: 100%;

    background: #ffffff;

    padding: 24px;

    box-sizing: border-box;

    border-radius: 14px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.07);

    transition: all 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.12);
}


/* =========================================
   PROFESSIONAL PROFILE
   FULL WIDTH
========================================= */

.resume-grid .profile-card {
    grid-column: 1 / 4;

    border: 2px solid #2563eb;
}


/* =========================================
   DIFFERENT BOX BORDER COLORS
========================================= */

.resume-grid .languages-card {
    border: 2px solid #8b5cf6;
}

.resume-grid .expertise-card {
    border: 2px solid #06b6d4;
}

.resume-grid .teaching-card {
    border: 2px solid #f59e0b;
}

.resume-grid .skills-card {
    border: 2px solid #10b981;
}

.resume-grid .academic-card {
    border: 2px solid #ef4444;
}

.resume-grid .interest-card {
    border: 2px solid #ec4899;
}


/* =========================================
   BOX HEADINGS
========================================= */

.resume-card h3 {
    margin: 0 0 14px;

    font-size: 19px;

    font-weight: 650;

    color: #222222;
}


/* =========================================
   TEXT
========================================= */

.resume-card p {
    margin: 0;

    color: #555555;

    font-size: 14px;

    line-height: 1.8;

    text-align: justify;
}


/* =========================================
   LIST
========================================= */

.resume-card ul {
    margin: 0;

    padding-left: 20px;
}

.resume-card li {
    color: #555555;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 3px;
}

.resume-card li::marker {
    color: #333333;
}


/* =========================================
   TECHNICAL SKILLS
========================================= */

.skill-list {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.skill-list span {
    background: #f5f5f5;

    color: #333333;

    border: 1px solid #d4d4d4;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 12.5px;

    font-weight: 600;

    transition: 0.3s ease;
}

.skill-list span:hover {
    background: #333333;

    color: #ffffff;

    border-color: #333333;
}


/* =========================================
   TABLET VIEW
========================================= */

@media screen and (max-width: 900px) {

    .resume-section {
        padding: 50px 5%;
    }

    .resume-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resume-grid .profile-card {
        grid-column: 1 / 3;
    }
}


/* =========================================
   MOBILE VIEW
========================================= */

@media screen and (max-width: 600px) {

    .resume-section {
        padding: 40px 18px;
    }

    .resume-header {
        margin-bottom: 30px;
    }

    .resume-header h2 {
        font-size: 28px;
    }

    .resume-header p {
        font-size: 14px;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .resume-grid .profile-card {
        grid-column: 1;
    }

    .resume-card {
        padding: 20px;
    }

    .resume-card h3 {
        font-size: 17px;
    }

    .resume-card p,
    .resume-card li {
        font-size: 13px;
    }

    .skill-list {
        gap: 7px;
    }

    .skill-list span {
        font-size: 11.5px;

        padding: 6px 11px;
    }
}