* {
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #e2e8f0;
}

.container {
    background-color: #1e293b;
    border-radius: 0.75rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(255, 255, 255, 0.05) inset;
    padding: 3rem;
    max-width: 64rem;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* .container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 300%;
    height: 300%;
    background: #ffffff0d;
    transform: rotate(45deg);
    pointer-events: none;
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }

    100% {
        transform: rotate(45deg) translateX(100%);
    }
} */

.profile-image {
    -webkit-user-drag: none;
    pointer-events: none;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.content {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    color: #94a3b8;
}

p {
    color: #94a3b8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: rgba(45, 79, 157, 0.3);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: #e2e8f0;
    transform: scale(1.1);
}

.profile-flip-container {
    width: 16rem;
    height: 16rem;
    perspective: 1000px;
    border-radius: 50%;
    /* Existing image styles */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.profile-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 50%;
}

.profile-flip-container:hover .profile-flip-inner {
    transform: rotateY(180deg);
}

.profile-flip-front,
.profile-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
}

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

.profile-flip-back img {
    transform: scaleX(-1);
    /* Mirrors the back image */
}

.social-links a {
    position: relative;
}

.social-links a::after {
    content: attr(data-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links a:hover::after {
    opacity: 1;
    bottom: -25px;
}

.social-links a::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
    opacity: 0;
    transition: all 0.2s ease;
}

.social-links a:hover::before {
    opacity: 1;
    bottom: -17px;
}

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

    .social-links {
        justify-content: center;
    }
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #3b82f6;
    text-decoration: underline;
}
.bio {
    font-size: 1rem;
    line-height: 1.5;
}

.section-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* --- Timeline / Resume Styles --- */
.timeline {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.timeline-dot {
    position: absolute;
    left: -21px; /* Aligns dot on the line */
    top: 5px;
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #1e293b; /* Creates the gap effect */
}

.role-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.role-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 600;
}

.company-link a {
    color: #60a5fa;
    font-weight: 400;
    font-size: 1rem;
}

.role-meta {
    font-size: 0.875rem;
    color: #64748b;
    font-family: monospace; /* Gives a technical feel to dates */
}

/* --- Floating Blog Button --- */
.floating-blog-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #60a5fa;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid rgba(255,255,255,0.2);
}

.floating-blog-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: #3b82f6;
    color: white;
    text-decoration: none;
}
