:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #39ff14;
    /* Neon Green */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-radius: 24px;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #2a2a2a 0%, #111 100%);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0ibm9uZSIvPjxyZWN0IHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiIGZpbHRlcj0idXJsKCNub2lzZSkiLz48ZmlsdGVyIGlkPSJub2lzZSI+PGZcVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48L3N2Zz4=');
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    padding: 2rem;
    z-index: 1;
}

/* Background Huge Name */
.bg-name {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-head);
    font-size: clamp(4rem, 15vw, 15rem);
    line-height: 0.8;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    /* Faded behind everything */
    text-align: center;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* Left, Center (Image), Right */
    gap: 2rem;
    margin-top: 5vh;
}

/* Columns */
.column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.center-col {
    justify-content: flex-end;
    /* Align image to bottom */
    align-items: center;
    position: relative;
}

/* Glass Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-title {
    font-family: var(--font-head);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

/* Profile / DNA */
.profile-card .stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.profile-card .stat-item {
    display: flex;
    flex-direction: column;
}

.profile-card .highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.profile-card .label {
    font-size: 0.8rem;
    color: #aaa;
}

.profile-card .bio {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Action Card (Portfolio/Contact) */
.action-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.action-card .icon-box {
    font-size: 2.5rem;
    color: white;
    /* Brand logo white */
}

.action-card .text-box h3 {
    font-family: var(--font-head);
    margin-bottom: 0.2rem;
}

.action-card .text-box p {
    color: #888;
    font-size: 0.9rem;
}

.action-card .action-arrow {
    margin-left: auto;
    color: var(--accent-color);
    font-size: 1.5rem;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.action-card:hover .action-arrow {
    transform: rotate(0deg) translateX(5px);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
    font-size: 0.9rem;
}

.skill-item i {
    color: #666;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Image */
.image-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 700px;
    overflow: hidden;
    /* Simulate the cutout look by having it sit on the bottom */
    border-radius: var(--card-radius);
    /* Or 0 if full cutout */
    position: relative;
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    filter: grayscale(100%) contrast(1.1);
    /* Artistic BW look */
    transition: filter 0.5s ease;
}

.main-photo:hover {
    filter: grayscale(0%);
}

/* Right Column: Journey */
.experience-card {
    flex-grow: 1;
    /* Take up remaining space */
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-item .role {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.timeline-item .company {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.timeline-item .desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

.timeline-item .date {
    font-size: 0.8rem;
    color: #666;
}

/* Footer */
.footer-contact {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    font-size: 0.9rem;
    justify-content: center;
    /* Center footer */
    flex-wrap: wrap;
    /* responsive */
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Responsiveness */
/* Responsiveness */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .center-col {
        order: -1;
        grid-column: span 2;
        min-height: 400px;
        /* Reduced height for tablet */
    }

    .bg-name {
        font-size: 10vw;
        top: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        gap: 1rem;
    }

    .center-col {
        grid-column: span 1;
        min-height: 350px;
        /* Further reduced for mobile */
        margin-bottom: 2rem;
    }

    .image-container {
        min-height: auto;
        height: 350px;
        align-items: flex-end;
    }

    .profile-image-wrapper {
        border-radius: var(--card-radius);
    }

    .bg-name {
        font-size: 13vw;
        position: absolute;
        top: 1rem;
        left: 50%;
        /* Keep centered */
        transform: translateX(-50%);
        width: 100%;
        margin-bottom: 0;
        opacity: 0.1;
        /* Slightly more visible on mobile since it's behind image */
    }

    .card {
        padding: 1.25rem;
    }

    .profile-card .stats {
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        /* Single column skills for better readability on narrow screens */
    }
}

@media (max-width: 480px) {
    .bg-name {
        font-size: 15vw;
        top: 3rem;
    }

    .stats {
        flex-direction: row;
        justify-content: space-around;
        text-align: center;
    }

    .stat-item {
        align-items: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        /* Force 1 column on very small screens */
    }

    .footer-contact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}