/* SKILLS PAGE */

.skills-section {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.skills-box {
    width: 320px;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 20px;
    background: #020617;
    text-align: center;
}

.skills-box h2 {
    color: #00d9ff;
    margin-bottom: 15px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 50px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 14px;
    transition: 0.3s;
}

.skill-item i,
.skill-item img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.skill-item:hover {
    background: #00d9ff;
    color: black;
}

.fa-c {
    color: #3b82f6;
}

.fa-java {
    color: #f97316;
}

.fa-js {
    color: #facc15;
}

.fa-html5 {
    color: #e34c26;
}

.fa-css3 {
    color: #264de4;
}

.fa-chart-diagram {
    color: #38bdf8;
}

.fa-book {
    color: #f59e0b;
}

.fa-git-alt {
    color: #f97316;
}

.fa-github {
    color: white;
}

.skill-item img {
    width: 18px;
    height: 18px;
}

/* CODING PROFILES */
.coding-section {
    margin-top: 40px;
    text-align: center;
}

.coding-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}


.coding-links a:hover {
    font-weight: bold;
    background: #00d9ff;
    color: black;
}

.coding-links a:hover {
    background: linear-gradient(135deg, #00d9ff, #3b82f6);

    color: white;

    transform: translateY(-4px);

    box-shadow: 0 8px 15px rgba(0, 217, 255, 0.3);
}

.coding-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.coding-links img {
    width: 20px;
    height: 20px;
}

/* PROJECT */
.project-section {
    margin-top: 40px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 25px;

    border-radius: 12px;
    border: 1px solid #334155;

    background: #020617;

    flex-wrap: nowrap;
}

.project-img {
    width: 200px;
    height: 140px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}


.project-info h3 {
    color: #00d9ff;
}

.project-info p {
    margin: 10px 0;
    color: #cbd5f5;
}

.project-info a {
    color: #00d9ff;
    text-decoration: none;
}

.project-img {
    width: 320px;
    height: 220px;

    overflow: hidden;
    border-radius: 10px;

    flex-shrink: 0;
}

.project-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 10px;

    transition: 0.3s;
}

.project-img img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .project-img {
        width: 100%;
        height: auto;
    }
}

/* CERTIFICATES */
.certification-section {
    margin-top: 40px;
}

.certificate-section ul {
    margin-top: 10px;
    padding-left: 20px;
}

.certificate-section {
    margin-top: 60px;
    padding: 20px;
}

.cert-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.tab-btn:hover {
    color: #f59e0b;
}

.tab-btn.active {
    color: #f59e0b;
}

.tab-btn.active::after {
    content: "";
    width: 40px;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    bottom: -10px;
}

/* CERTIFICATION SECTION */

.certification-section {
    padding: 60px 8%;
    background: #0f172a;
    color: white;
}

.cert-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: #1e293b;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: #38bdf8;
    color: black;
}

.certificate-container {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.active-tab {
    display: grid;
}


.certificate-card {
    position: relative;
    overflow: hidden;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(10px);

    transition: 0.4s;
}

.certificate-card:hover {
    transform: translateY(-8px);
}

.certificate-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.certificate-info {
    padding: 20px;
}

.certificate-info h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.certificate-info p {
    color: #cbd5e1;
}

.overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.85);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.3s;
}

.certificate-card:hover .overlay {
    opacity: 1;
}

.overlay button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;

    background: #38bdf8;
    color: black;

    font-weight: bold;
    cursor: pointer;
}

.certificate-modal {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.7);

    backdrop-filter: blur(6px);

    justify-content: center;
    align-items: center;

    z-index: 1000;
}

.modal-content {

    position: relative;

    width: 85%;
    height: 85%;

    background: #020617;

    border-radius: 20px;

    overflow: hidden;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;

    color: white;

    font-size: 35px;

    cursor: pointer;

    z-index: 10;
}


@media (max-width: 768px) {

    .section-title {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        height: 80%;
    }

}