body {
    font-family: "Inter", sans-serif;
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* Container & Floating Button */
.cv-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.theme-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--bs-body-color);
    color: var(--bs-body-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Typography */
.section-header {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-body-color);
    border-bottom: 2px solid var(--bs-border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-header i {
        color: var(--bs-primary);
    }

.contact-list a {
    color: var(--bs-body-secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

    .contact-list a:hover {
        color: var(--bs-primary);
    }

/* Timeline Formatting */
.timeline {
    border-left: 2px solid var(--bs-border-color);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

    .timeline-item::before {
        content: "";
        position: absolute;
        left: -1.5rem;
        top: 0.4rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--bs-primary);
        transform: translateX(-50%);
        box-shadow: 0 0 0 4px var(--bs-body-bg);
    }

/* =========================================
           CUSTOM BULLETPROOF TOGGLE STYLES
           ========================================= */
.project-toggle-btn {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bs-primary);
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

    .project-toggle-btn:hover {
        opacity: 0.8;
    }

    /* Arrow Rotation */
    .project-toggle-btn .fa-chevron-right {
        transition: transform 0.3s ease;
        font-size: 0.75rem;
    }

    .project-toggle-btn.is-open .fa-chevron-right {
        transform: rotate(90deg);
    }

/* Hidden Content Block */
.custom-collapse-content {
    display: none; /* Hidden by default */
    margin-top: 1rem;
    animation: fadeIn 0.4s ease-in-out;
}

/* Fade in animation when opened */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clean Indented View for Projects */
.project-wrapper {
    padding-left: 1.25rem;
    border-left: 2px solid var(--bs-primary-border-subtle);
}

.project-block {
    margin-bottom: 1.5rem;
}

    .project-block:last-child {
        margin-bottom: 0;
    }

.project-title {
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.25rem;
}

.project-role {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}

.project-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

/* Subtle Skill Badges */
.skill-badge {
    background-color: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-secondary-color);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}
