.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 40px 80px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    flex: 1 1 400px;
    max-width: 520px;
}

.hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 1px;
    display: inline;
}

.typewriter-gold {
    color: #d4af37;
}

.typewriter-cursor {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    color: #d4af37;
    display: inline-block;
    animation: blink 0.8s step-end infinite;
    line-height: 1;
    vertical-align: baseline;
}

@keyframes blink {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-btn {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #0b0b0b;
    background: linear-gradient(145deg, #e2c55a, #c9a82e);
    padding: 14px 36px;
    border-radius: 60px;
    border: 2px solid #0b0b0b;
    transition: 0.2s ease;
}

.hero-btn:hover {
    transform: scale(0.97);
    box-shadow: 0 0 0 2px #d4af37;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
    align-items: center;
    flex: 1 1 460px;
    max-width: 480px;
    perspective: 2000px;
    width: 100%;
}

.hero-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.03) 60%,
            rgba(212, 175, 55, 0.05) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px 20px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, filter 0.5s ease, background 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    will-change: transform;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
}

.hero-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: #d4af37;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    flex-shrink: 0;
}

.card-1 {
    grid-column: 1;
    grid-row: 1;
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(4deg);
    z-index: 1;
}

.card-2 {
    grid-column: 2;
    grid-row: 1;
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(4deg);
    z-index: 1;
}

.card-3 {
    grid-column: 1 / span 2;
    grid-row: 2;
    margin: -40px 0 -40px 40px;
    padding: 34px 30px;
    min-height: 180px;
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(4deg);
    z-index: 5;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.05) 60%,
            rgba(212, 175, 55, 0.08) 100%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    backdrop-filter: blur(28px) saturate(200%);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 4px rgba(0, 0, 0, 0.6);
}

.card-4 {
    grid-column: 1;
    grid-row: 3;
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(4deg);
    z-index: 1;
}

.card-5 {
    grid-column: 2;
    grid-row: 3;
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(4deg);
    z-index: 1;
}

.hero-cards:hover .hero-card,
.hero-cards.panel-open .hero-card {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 0.5;
}

.hero-cards .hero-card:hover,
.hero-cards.panel-open .hero-card.no-blur {
    opacity: 1;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 2px #d4af37,
        0 25px 50px rgba(0, 0, 0, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    z-index: 10;
}

@media (max-width: 900px) {
    .hero {
        justify-content: center;
        text-align: center;
        padding-top: 200px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cards {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .card-3 {
        margin: -20px 0 -20px 20px;
        padding: 24px 20px;
        min-height: 150px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 180px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 30px;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .typewriter-cursor {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-btn {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .hero-card {
        padding: 14px 12px;
        min-height: 100px;
        border-radius: 12px;
    }

    .hero-card h3 {
        font-size: 1rem;
    }

    .card-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 6px;
    }

    .card-1,
    .card-2,
    .card-4,
    .card-5 {
        transform: rotateX(4deg) rotateY(-6deg) rotateZ(2deg);
    }

    .card-3 {
        grid-column: 1 / span 2;
        margin: -10px 0 -10px 10px;
        padding: 20px 16px;
        min-height: 120px;
        transform: rotateX(4deg) rotateY(-6deg) rotateZ(2deg);
    }

    .hero-cards:hover .hero-card,
    .hero-cards.panel-open .hero-card {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}

@media (max-width: 400px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .typewriter-cursor {
        font-size: 2.2rem;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-card {
        padding: 10px 8px;
        min-height: 80px;
        border-radius: 10px;
    }

    .hero-card h3 {
        font-size: 0.8rem;
    }

    .card-icon {
        width: 20px;
        height: 20px;
    }

    .card-3 {
        padding: 14px 12px;
        min-height: 90px;
        margin: -6px 0 -6px 6px;
    }
}
.card-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.card-panel-overlay.active {
    visibility: visible;
    pointer-events: auto;
}

.card-panel {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%) scale(0.9);
    width: 620px;
    max-width: calc(50% - 60px);
    height: 560px;
    max-height: 80vh;
    background-color: #fdf6e3;
    border-radius: 28px;
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card-panel.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.card-panel-inner {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 4px;
}

.card-panel-inner::-webkit-scrollbar {
    display: none;
}

.card-panel-content {
    display: none;
    width: 100%;
    height: 100%;
}

.card-panel-content.active {
    display: block;
}

.navbar.blurred {
    filter: blur(8px);
    pointer-events: none;
}

.hero-card.no-blur {
    filter: none !important;
    position: relative;
    z-index: 920;
}

.panel-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: #0b0b0b;
    margin: 0 0 10px;
}

.panel-divider {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(145deg, #e2c55a, #c9a82e);
    border-radius: 4px;
    margin-bottom: 30px;
}

.panel-header h2,
.panel-divider,
.panel-item {
    opacity: 0;
}

@media (max-width: 900px) {
    .card-panel {
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 92%;
        max-width: 92%;
        height: 70vh;
        max-height: 80vh;
        padding: 30px 24px;
        border-radius: 24px;
    }
}

@media (max-width: 600px) {
    .card-panel {
        width: 96%;
        max-width: 96%;
        height: 75vh;
        max-height: 85vh;
        padding: 24px 16px;
        border-radius: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
    }

    .card-panel.active {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 400px) {
    .card-panel {
        padding: 18px 12px;
        height: 80vh;
        max-height: 90vh;
        border-radius: 16px;
    }
}
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 18px;
}

.edu-cell {
    border-radius: 16px;
    box-sizing: border-box;
}

.edu-image-cell {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 130px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.edu-logo-img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.edu-info-cell {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.edu-info-cell h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: #0b0b0b;
    margin: 0 0 4px;
}

.edu-degree {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a;
    margin: 0 0 6px;
    line-height: 1.4;
}

.edu-duration {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #8a8a8a;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.edu-grade {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #0b0b0b;
    margin: 0;
}

.edu-grade span {
    color: #b8860b;
    font-weight: 600;
}

@media (max-width: 700px) {
    .edu-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edu-image-cell {
        min-height: 100px;
        padding: 12px;
    }

    .edu-info-cell {
        padding: 14px 16px;
    }

    .edu-info-cell h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .edu-info-cell h3 {
        font-size: 1rem;
    }

    .edu-degree {
        font-size: 0.85rem;
    }
}
.spec-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 24px;
}

.spec-intro strong {
    color: #b8860b;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    padding: 8px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b0b0b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.spec-tag-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.spec-subheading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #0b0b0b;
    margin: 24px 0 12px;
}

@media (max-width: 600px) {
    .spec-tags {
        gap: 6px;
    }

    .spec-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .spec-tag-icon {
        width: 14px;
        height: 14px;
    }

    .spec-intro {
        font-size: 0.95rem;
    }

    .spec-subheading {
        font-size: 1.2rem;
        margin-top: 18px;
    }
}

@media (max-width: 400px) {
    .spec-tag {
        padding: 4px 10px;
        font-size: 0.7rem;
        gap: 4px;
        border-radius: 20px;
    }

    .spec-tag-icon {
        width: 12px;
        height: 12px;
    }
}
.intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.7;
    margin: 0 0 26px;
}

.intro-text .highlight-gold {
    color: #b8860b;
    font-weight: 600;
}

.intro-subheading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #0b0b0b;
    margin: 0 0 14px;
}

.intro-hobbies {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.intro-hobby {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.intro-hobby-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 2px;
}

.intro-hobby-icon svg {
    width: 100%;
    height: 100%;
}

.intro-hobby p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .intro-text {
        font-size: 0.95rem;
    }

    .intro-hobby {
        padding: 12px 14px;
        gap: 12px;
    }

    .intro-hobby p {
        font-size: 0.85rem;
    }

    .intro-subheading {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .intro-hobby {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
    }

    .intro-hobby-icon {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }

    .intro-hobby p {
        font-size: 0.8rem;
    }
}/* ---------- Certification Panel ---------- */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cert-card {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-icon-link {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.cert-icon-link:hover {
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
    transform: scale(1.08);
}

.cert-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.cert-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: #0b0b0b;
    margin: 0 0 6px;
    line-height: 1.3;
}

.cert-issuer {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #4a4a4a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.cert-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

@media (max-width: 700px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cert-card {
        padding: 16px 14px;
    }

    .cert-icon-link {
        width: 56px;
        height: 56px;
    }

    .cert-icon {
        width: 26px;
        height: 26px;
    }

    .cert-card h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .cert-card {
        padding: 14px 10px;
        border-radius: 12px;
    }

    .cert-icon-link {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .cert-icon {
        width: 22px;
        height: 22px;
    }

    .cert-card h3 {
        font-size: 0.85rem;
    }

    .cert-issuer {
        font-size: 0.7rem;
    }

    .cert-date {
        font-size: 0.65rem;
    }
}/* ---------- Achievement Panel ---------- */
.achieve-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.achieve-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.achieve-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achieve-icon svg {
    width: 24px;
    height: 24px;
}

.achieve-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: #0b0b0b;
    margin: 0 0 6px;
}

.achieve-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .achieve-card {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .achieve-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .achieve-icon svg {
        width: 20px;
        height: 20px;
    }

    .achieve-card h3 {
        font-size: 1rem;
    }

    .achieve-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .achieve-card {
        padding: 12px 12px;
        gap: 10px;
        border-radius: 10px;
        flex-wrap: wrap;
    }

    .achieve-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    .achieve-icon svg {
        width: 16px;
        height: 16px;
    }

    .achieve-card h3 {
        font-size: 0.9rem;
    }

    .achieve-card p {
        font-size: 0.8rem;
    }
}