/* ==============================
   Resume Switch Page
============================== */
.resume-page {
    margin-top: 28px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.resume-section {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 42px 28px;
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 30px rgba(56, 189, 248, 0.16);
}

.resume-header {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.resume-header h1 {
    color: #eff6ff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 14px;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.resume-header p {
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.8;
}

.resume-switch > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.resume-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto 30px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: inset 0 0 22px rgba(56, 189, 248, 0.08), 0 0 22px rgba(56, 189, 248, 0.12);
}

.resume-toggle label {
    position: relative;
    z-index: 2;
    padding: 13px 18px;
    border-radius: 999px;
    color: #cbd5e1;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.resume-toggle label:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

#techResume:checked ~ .resume-toggle label[for="techResume"],
#salesResume:checked ~ .resume-toggle label[for="salesResume"] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(14, 165, 233, 0.18));
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.32);
}

.resume-panel {
    display: none;
    animation: resumePanelFade 0.28s ease-out both;
}

#techResume:checked ~ .resume-panels .tech-panel,
#salesResume:checked ~ .resume-panels .sales-panel {
    display: block;
}

.resume-overview {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    margin-bottom: 18px;
}

.resume-feature-card,
.resume-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.resume-feature-card h2,
.resume-card h2 {
    color: #38bdf8;
    margin-bottom: 12px;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.resume-feature-card p,
.resume-card p,
.resume-card li {
    color: #cbd5e1;
    line-height: 1.7;
}

.resume-card ul {
    margin-top: 10px;
    padding-left: 22px;
}

.resume-card li {
    margin-bottom: 9px;
}

.resume-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.resume-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 800;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.resume-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #06111f;
    font-weight: 900;
    text-decoration: none;
    background: #38bdf8;
    border: 1px solid #7dd3fc;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resume-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.55);
}

.resume-button.secondary {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.35);
}

@keyframes resumePanelFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .resume-section {
        padding: 32px 18px;
    }

    .resume-toggle {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .resume-toggle label {
        border-radius: 20px;
    }

    .resume-overview,
    .resume-grid {
        grid-template-columns: 1fr;
    }

    .resume-actions {
        flex-direction: column;
    }
}
