
:root {
    --sidebar-width: 280px;
    --primary-color: #0d6efd;
}

body {
    font-family: 'Inter', 'sans-serif';
    background-color: #f8f9fa; /* Bootstrap bg-light equivalent */
    overflow-x: hidden;
    color: #333;
}


/* --- Sidebar Styles --- */
#sidebar-wrapper {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1050;
    transition: margin 0.3s ease-in-out, transform 0.3s ease-in-out;
    background-color: #212529;
    color: white;
    display: flex;
    flex-direction: column;
}

#page-content-wrapper {
    margin-left: var(--sidebar-width);
    transition: margin 0.3s ease-in-out;
    min-height: 100%;
    padding: 2rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
        transform: translateX(-100%);
    }

        #sidebar-wrapper.toggled {
            transform: translateX(0);
        }

    #page-content-wrapper {
        margin-left: 0;
        padding: 1rem;
        padding-top: 5rem;
    }

    .mobile-header {
        display: flex !important;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

        .sidebar-overlay.show {
            display: block;
        }
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1030;
    background: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

/* Navigation Links */
.nav-link {
    color: #adb5bd;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-link:hover {
        color: white;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-link i {
        width: 20px;
        text-align: center;
    }

/* --- Custom Component Styles --- */

/* Card Hover Effect */
.custom-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .custom-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        border-color: #cfe2ff; /* Bootstrap blue-200 equivalent */
    }

/* Timeline */
.timeline-item {
    padding-left: 2rem;
    padding-bottom: 2rem;
    position: relative;
    border-left: 2px solid #dee2e6;
}

    .timeline-item:last-child {
        border-left: 2px solid transparent;
    }

.timeline-dot {
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid #dee2e6;
    transition: border-color 0.3s;
}

    .timeline-dot.first {
        background: #198754bf;
    }

.timeline-item:hover .timeline-dot {
    border-color: var(--primary-color);
}

    .timeline-item:hover .timeline-dot.first {
        background-color: white;
        border-color: #198754bf;
    }

/* Tech Stack Badges */
.tech-badge {
    font-size: 0.75rem;
    /* Colors are handled via inline classes now */
    transition: all 0.2s;
    cursor: default;
}

    .tech-badge:hover {
        filter: brightness(0.95);
    }

/* Link Underline Animation */
.custom-link-hover {
    text-decoration: none;
    position: relative;
    color: inherit;
}

    .custom-link-hover::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: var(--primary-color);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .custom-link-hover:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .custom-link-hover:hover {
        color: var(--primary-color);
    }

/* Avatar */
.avatar-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    overflow: hidden;
    background-color: #e9ecef;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Language Button Active State */
.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.lang-btn {
    background: transparent;
    color: #6c757d;
    border: none;
}

    .lang-btn:hover {
        color: white;
    }

/* --- CUSTOM PINK UTILITIES --- */
.text-pink {
    color: #d63384 !important;
}

.bg-pink-subtle {
    background-color: #ffe0e9 !important; /* Custom Pink Background */
}

.text-pink-emphasis {
    color: #8a0030 !important; /* Darker Pink Text */
}

.border-pink-subtle {
    border-color: #ffc2d1 !important;
}


.edu {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #ddd;
    display: flex;
}

    .edu:hover {
        border-color: rgba(13, 174, 84, 0.6);
    }

.cer {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #ddd;
    display: flex;
}

    .cer:hover {
        border-color: rgba(244, 193, 7, 0.6);
    }


.fadein {
    opacity: 1;
    animation-name: fade;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 1.6s;
    animation-fill-mode: forwards;
}

@keyframes fade {
    from {
        opacity: 0;
        /*transform: translate3d(-50%, 0, 0);*/
    }

    to {
        opacity: 1;
        /*transform: none;*/
    }
}

.progress {
    animation: progressBar 1s ease-in-out;
    animation-fill-mode: both;
}

@keyframes progressBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}