/* Modern Experience Page Styling */
body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
}

body > *:not(#header):not(footer) {
    max-width: 1200px;
    width: 100%;
    padding: 2rem 1rem;
    margin: 0 auto;
    box-sizing: border-box;
    padding-bottom: 30px;
}

#heading {
    text-align: center;
    font-size: 1.8rem;
    color: #667eea;
    margin: 2rem 0;
    font-weight: 600;
}

#experience {
    width: 100%;
    max-width: 900px;
    padding-bottom: 2rem;
}

#experience .container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

#experience .container:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

#experience .container h4 {
    margin: 0.5rem 0;
    color: #333;
    font-weight: 600;
}

#experience .container h4:first-child {
    color: #667eea;
    font-size: 1.2rem;
}

#experience .container + ul {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin: 0 0 2rem 0;
    list-style: none;
    transition: all 0.3s ease;
}

#experience .container + ul:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

#experience .container + ul li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

#experience .container + ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

#experience .container + ul li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #heading {
        font-size: 1.5rem;
    }
    
    #experience {
        padding: 0 1rem;
    }
    
    #experience .container {
        padding: 1.25rem;
    }
    
    #experience .container + ul {
        padding: 1.25rem;
    }
}

@media (prefers-color-scheme: dark) {
    #experience .container {
        background: #2a2a2a;
        border-left-color: #667eea;
    }
    
    #experience .container h4 {
        color: #e0e0e0;
    }
    
    #experience .container h4:first-child {
        color: #8b9eff;
    }
    
    #experience .container + ul {
        background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
        border-color: #3a3a3a;
    }
    
    #experience .container + ul:hover {
        border-color: #667eea;
    }
    
    #experience .container + ul li {
        color: #d0d0d0;
        border-bottom-color: #3a3a3a;
    }
}