.skills-container h2 {
    color: rgb(240, 232, 220);
    font-size: 1.8em;
    border-bottom: 2px solid #fff;
    display: inline-block;
    margin-bottom: 15px;
}

.skills-container {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.skills-category {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #c1076a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.skills-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.skill-icon {
    font-size: 1.5em;
    margin-right: 10px;
    color: #ffcc00;
}

.skill-name {
    font-size: 1.2em;
    color: #fff;
}

.skills-container a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

.skills-container a:hover {
    text-decoration: underline;
}

/* Containers */
.education-container,
.leadership-container {
    margin-top: 20px;
}

/* Cards (General) */
.education-card,
.leadership-card {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #c1076a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

/* Headings */
.education-card h3,
.leadership-card h3 {
    color: rgb(240, 232, 220);
    margin-bottom: 10px;
}

/* Institution Name */
.institution {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.institution p {
    color: #999;
}

/* Highlights */
.highlight {
    color: #00e1ff;
    margin-top: 10px;
}

/* Strong Tags */
.education-card p strong,
.leadership-card p strong {
    color: rgb(240, 232, 220);
}

.education-card span {
    color: rgb(240, 232, 220);
}


.leadership-card span {
    color: rgb(240, 232, 220);
}

.education-card:hover,
.leadership-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.achievement-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

.achievement-box {
    position: relative;
    width: 31%;
    border-left: 4px solid #c1076a;
    background: linear-gradient(90deg, #0735a1, #c1076a);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.box-image {
    width: 100%;
    height: 200px;
    background-position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-box:hover .details {
    opacity: 1;
}

.details p {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.view-btn {
    background-color: #0735a1;
}

.view-btn:hover {
    background-color: #0735a1af;
}

.download-btn {
    background-color: #c1076a;
}

.download-btn:hover {
    background-color: #c1076aaf;
}


.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 600px;
    background: linear-gradient(90deg, #0735a1, #c1076a);
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border-radius: 10px;
}

.popup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    background: linear-gradient(90deg, #0735a1, #c1076a);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ff4040;
}

/* Styles for screens 768px and below */
@media (max-width: 768px) {
    .skills-container {
        padding: 20px;
    }

    .skills-container h2 {
        font-size: 1.5em;
    }

    .skills-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .skills-category {
        padding: 15px;
    }

    .skill-item {
        margin: 5px 0;
    }

    .skill-icon {
        font-size: 1.2em;
    }

    .skill-name {
        font-size: 1em;
    }

    .education-card,
    .leadership-card {
        padding: 15px;
    }

    .education-card h3,
    .leadership-card h3 {
        font-size: 1.2em;
    }

    .institution {
        font-size: 12px;
    }

    .achievement-container {
        flex-direction: column;
        align-items: center;
    }

    .achievement-box {
        width: 90%;
        margin-bottom: 20px;
    }

    .details p {
        font-size: 16px;
    }

    .btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Styles for screens 480px and below */
@media (max-width: 480px) {
    .skills-container h2 {
        font-size: 1.2em;
    }

    .skills-section {
        grid-template-columns: 1fr;
    }

    .skills-category {
        padding: 10px;
    }

    .skill-icon {
        font-size: 1em;
    }

    .skill-name {
        font-size: 0.9em;
    }

    .education-card,
    .leadership-card {
        padding: 10px;
    }

    .education-card h3,
    .leadership-card h3 {
        font-size: 1em;
    }

    .institution {
        font-size: 10px;
    }

    .achievement-box {
        width: 100%;
    }

    .details p {
        font-size: 14px;
    }

    .btn {
        font-size: 10px;
        padding: 6px 12px;
    }
}