body {
    background: #06152b;
    color: white;
    font-family: Segoe UI;
    margin: 0;
    overflow-x: hidden;
}

nav {
    padding: 20px;
    background: #0d1c33;
    display: flex;
    gap: 20px
}

nav a {
    text-decoration: none;
    color: white
}

section {
    padding: 60px 8%
}

.profile-card {
    display: flex;
    border: 1px solid #d4af37;
    border-radius: 24px;
    overflow: hidden
}

.profile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-width: 260px;
}

.profile-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 50%;
    border: 4px solid #d4af37;
    box-shadow:
        0 0 20px rgba(212, 175, 55, .25);
}

.profile-content {
    padding: 40px
}

.quick-links a {
    background: #d4af37;
    color: black;
    padding: 10px 16px;
    border-radius: 10px;
    margin-right: 10px;
    text-decoration: none
}

.timeline {
    border-left: 4px solid #d4af37;
    padding-left: 30px
}

.journey-card {
    position: relative;
    background: #10233f;
    padding: 20px 20px 20px 40px;
    border-radius: 16px;
    margin: 15px 0
}

.inner-line {
    position: absolute;
    left: 15px;
    top: 15px;
    height: 80%;
    width: 3px;
    background: #d4af37
}

.project-grid,
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px
}

.project-card {
    background: #10233f;
    border-radius: 22px;
    padding: 20px
}

.project-image {
    height: 180px;
    background: #1a3155;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px
}

.badges span {
    display: inline-block;
    background: #1a3155;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 4px
}

.tech {
    margin-top: 12px;
    color: #d4af37
}

.github-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem
}

.logo-card {
    background: #10233f;
    border-radius: 26px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem
}

.logo {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #d4af37
}

/* ================================================= */
/* PREMIUM BADGES & CERTIFICATES SHELF */
/* ================================================= */

.showcase-shelf {

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 60px;

    background: linear-gradient(to bottom,
            #2a1d12,
            #1b120c);

    border-radius: 20px;

    border: 1px solid rgba(212, 175, 55, .15);

    box-shadow:
        inset 0 0 40px rgba(255, 220, 150, .08),
        0 20px 40px rgba(0, 0, 0, .35);
}

/* Individual Display Slot */

.shelf-slot {

    position: relative;

    width: 260px;
    height: 320px;

    display: flex;
    flex-direction: column;

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

    text-decoration: none;

    transition: .3s;
}

/* Badge / Certificate Holder */

.badge-holder {

    width: 170px;
    height: 170px;

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

    margin-bottom: 15px;

    background: rgba(255, 255, 255, .03);

    border: 2px solid transparent;

    border-radius: 12px;

    transition: .3s;
}

.certificate-holder {

    width: 200px;
    height: 140px;
}

.badge-holder img {

    width: 90%;
    height: 90%;

    object-fit: contain;
}

/* Hover Effect */

.shelf-slot:hover .badge-holder {

    border-color: #d4af37;

    box-shadow:
        0 0 15px rgba(212, 175, 55, .35),
        0 0 30px rgba(212, 175, 55, .12);
}

/* Trophy Style Red Base */

.pedestal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    color: white;
    background: linear-gradient(to bottom,
            #8d1d1d,
            #5b1010);

    border-radius: 6px;

    box-shadow:
        0 8px 15px rgba(0, 0, 0, .4),
        inset 0 2px 4px rgba(255, 255, 255, .12);
}

/* Wooden Shelf */

.shelf-plank {

    width: 100%;
    height: 18px;

    margin-top: -2px;

    background: linear-gradient(to bottom,
            #6e4327,
            #4a2d1a);

    border-radius: 2px;

    box-shadow:
        0 6px 12px rgba(0, 0, 0, .35),
        inset 0 1px 2px rgba(255, 255, 255, .08);
}

/* Section Heading */

.shelf-title {

    text-align: center;

    font-size: 2.2rem;

    margin-bottom: 40px;

    color: #d4af37;
}

/* ========================= */
/* SKILLS */
/* ========================= */

.skill-category {

    margin-bottom: 40px;
}

.skill-category h3 {

    color: #d4af37;

    margin-bottom: 15px;
}

.skill-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}

.skill-badge {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 18px;

    background: #10233f;

    border-radius: 14px;

    border: 1px solid rgba(212, 175, 55, .15);
}

.skill-badge img {

    width: 24px;

    height: 24px;

    object-fit: contain;
}

/* ========================= */
/* ONLINE PRESENCE */
/* ========================= */

.profile-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.profile-card-link {

    background: #10233f;

    border-radius: 24px;

    padding: 30px;

    text-align: center;

    text-decoration: none;

    color: white;

    transition: .3s;
}

.profile-card-link img {

    width: 100%;

    object-fit: contain;

    margin-bottom: 15px;
}

.profile-card-link:hover {

    border: 1px solid #d4af37;

    box-shadow:
        0 0 20px rgba(212, 175, 55, .2);
}

.journey-header {

    position: sticky;

    top: 0;

    z-index: 10;

    background: #10233f;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 15px;

    margin-bottom: 20px;
}

.journey-header span {

    color: #d4af37;

    font-size: .9rem;

}

.journey-scroll {

    display: flex;

    gap: 20px;

    overflow-x: auto;

    padding-bottom: 10px;

    scrollbar-width: thin;

    scrollbar-color: #d4af37 #10233f;
}

.journey-scroll::-webkit-scrollbar {

    height: 8px;
}

.journey-scroll::-webkit-scrollbar-track {

    background: #10233f;
}

.journey-scroll::-webkit-scrollbar-thumb {

    background: #d4af37;

    border-radius: 20px;
}

.journey-project-card {

    min-width: 280px;

    max-width: 280px;

    background: #152238;

    border-radius: 20px;

    padding: 15px;

    flex-shrink: 0;

    transition: .3s;
}

.journey-project-card:hover {

    border: 1px solid #d4af37;

    box-shadow:
        0 0 15px rgba(212, 175, 55, .2);
}

.project-thumb {

    height: 140px;

    background: #1a3155;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    font-weight: bold;

    color: #d4af37;
}

.journey-project-card h4 {

    margin-bottom: 10px;
}

.journey-project-card p {

    font-size: .9rem;

    line-height: 1.5;
}

/* ===== WORKING FLIP CARDS ===== */
.flip-card {
    width: 280px;
    height: 380px;
    perspective: 1000px;
    flex-shrink: 0;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #152238;
    border-radius: 20px;
    padding: 18px;
    box-sizing: border-box;
    overflow: auto;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.card-date {
    color: #d4af37;
    display: block;
    margin: 10px 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.card-tags span {
    background: #1a3155;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: .8rem;
}

/* ================================= */
/* MOBILE HERO CARD */
/* ================================= */

@media (max-width: 768px) {

    .profile-card {

        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .profile-image {

        min-width: auto;

        width: 100%;

        padding: 25px 25px 10px;
    }

    .profile-image img {

        width: 180px;

        height: 180px;
    }

    .profile-content {

        padding: 15px 25px 30px;
    }

    .profile-content h1 {

        font-size: 1.8rem;

        margin-bottom: 10px;
    }

    .profile-content h3 {

        font-size: 1rem;

        line-height: 1.5;

        margin-bottom: 15px;
    }

    .quick-links {

        display: flex;

        flex-direction: column;

        gap: 12px;

        margin-top: 20px;
    }

    .quick-links a {

        margin-right: 0;

        display: block;
    }
    .timeline {
        padding-left: 5px;
    }

    /* Showcase shelf on mobile */
    .showcase-shelf {
        gap: 25px;
        padding: 30px 15px;
        border-radius: 14px;
    }

    .shelf-slot {
        width: 130px;
        height: 190px;
    }

    .badge-holder {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .certificate-holder {
        width: 110px;
        height: 90px;
    }

    .pedestal {
        width: 90px;
        height: 32px;
        font-size: .75rem;
        text-align: center;
        padding: 0 6px;
    }

    .shelf-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}