/* Custom divider for Infosys roles only */
.infosys-role-divider {
    border: none;
    border-top: 1px solid var(--accent-teal);
    width: 40%;
    margin: 2rem auto;
    border-radius: 1px;
    opacity: 0.5;
    display: block;
}
/* Subtle divider between experience items */
.company-divider {
    border: none;
    border-top: 1px solid var(--accent-teal);
    opacity: 0.18;
    margin: 1.5rem 0;
}
/* Remove all margin and padding from company names */
.company-name {
    margin: 0 !important;
    padding: 0 !important;
}
/* Profile Page Styles - Premium Theme */
/* ================================== */

/* Sidebar Navigation */
.sidebar-nav {
    position: sticky;
    top: 6rem;
    /* Account for sticky header */
    height: fit-content;
    padding-right: 1.5rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    font-weight: 700;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.sidebar-link.active {
    background: var(--glass-bg);
    border: none;
    /* box-shadow: var(--shadow-premium); */
}

/* Sidebar Color Overrides */
.sidebar-link[data-section="experience"]:hover,
.sidebar-link.active[data-section="experience"] {
    color: var(--accent-teal);
    border-left: 3px solid var(--accent-teal);
}

.sidebar-link[data-section="education"]:hover,
.sidebar-link.active[data-section="education"] {
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
}

.sidebar-link[data-section="licenses"]:hover,
.sidebar-link.active[data-section="licenses"] {
    color: var(--accent-amber);
    border-left: 3px solid var(--accent-amber);
}

.sidebar-link[data-section="volunteering"]:hover,
.sidebar-link.active[data-section="volunteering"] {
    color: var(--accent-purple);
    border-left: 3px solid var(--accent-purple);
}

.sidebar-link[data-section="awards"]:hover,
.sidebar-link.active[data-section="awards"] {
    color: var(--accent-pink);
    border-left: 3px solid var(--accent-pink);
}

.sidebar-link[data-section="journey"]:hover,
.sidebar-link.active[data-section="journey"] {
    color: var(--accent-rose);
    border-left: 3px solid var(--accent-rose);
}

/* Layout */
.profile-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: rem;
    max-width: 100%;
    margin: 0 auto;
}

.profile-section {
    margin-top: 0;
    padding-top: 0;
    /* border-top: 1px solid var(--glass-border); */
    position: relative;
    scroll-margin-top: 0rem;
}

.profile-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    background: var(--bg-dark);
    border: none;
    border-radius: 4px;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    position: sticky;
    top: 5rem;
    z-index: 100;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
    width: fit-content;
}

.profile-section#journey h2 {
    border-left-color: var(--accent-rose);
    color: var(--accent-rose);
}

.profile-section#experience h2 {
    border-left-color: var(--accent-teal);
    color: var(--accent-teal);
}

.profile-section#education h2 {
    border-left-color: var(--accent-blue);
    color: var(--accent-blue);
}

.profile-section#licenses h2 {
    border-left-color: var(--accent-amber);
    color: var(--accent-amber);
}

.profile-section#volunteering h2 {
    border-left-color: var(--accent-purple);
    color: var(--accent-purple);
}

.profile-section#awards h2 {
    border-left-color: var(--accent-pink);
    color: var(--accent-pink);
}


/* Experience Items (Glass Cards) */
.experience-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: none;
    padding: 2.5rem;
    border-radius: 16px;
    /* box-shadow: var(--shadow-premium); */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.exp-company {
    font-size: 1.5rem;
    color: var(--accent-teal);
    font-weight: 700;
    margin: 0;
}

.exp-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.exp-type {
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.role-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
}

.role-dates {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.role-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.company-role {
    position: relative;
}

.company-role+.company-role {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.role-header-container {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.role-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid var(--glass-border);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.role-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.role-header-info {
    flex: 1;
}

.role-achievements ul {
    list-style: none;
    padding-left: 0;
}

.role-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.role-achievements li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.company-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

/* Education, Licenses, etc - Same Glass Theme */
.education-item {
    border-left: none;
    background: var(--glass-bg);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    /* box-shadow: var(--shadow-premium); */
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.education-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.edu-field {
    color: var(--accent-blue);
    font-weight: 600;
}

.activity-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-right: 0.5rem;
    border-radius: 999px;
    padding: 0.25em 0.9em;
    white-space: nowrap;
    overflow: hidden;
}

.license-item {
    background: var(--glass-bg);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    /* box-shadow: var(--shadow-premium); */
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.license-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-amber);
}

.cert-issuer {
    color: var(--accent-amber);
}

.skill-tag {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-right: 0.5rem;
    border-radius: 999px;
    padding: 0.25em 0.9em;
    white-space: nowrap;
    overflow: hidden;
}

.volunteer-item {
    background: var(--glass-bg);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    /* box-shadow: var(--shadow-premium); */
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.volunteer-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.vol-organization {
    color: var(--accent-purple);
}

.award-item {
    background: var(--glass-bg);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    /* box-shadow: var(--shadow-premium); */
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.award-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-pink);
}

.award-issuer {
    color: var(--accent-pink);
}

/* Journey & Map */
#map {
    height: 450px;
    border-radius: 16px;
    /* box-shadow: var(--shadow-premium); */
    position: relative;
    z-index: 1;
}

.journey-summary-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-container {
        grid-template-columns: 180px 1fr;
        gap: 0rem;
    }
}

@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .sidebar-nav {
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 0 0 2rem;
        margin-bottom: 3rem;
    }

    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-link {
        border-left: none !important;
        border-bottom: 2px solid transparent;
    }
}